forked from enlightenment/efl
ecore_x: supported isn't an optional argument
if supported is NULL, this function isn't of any use. Fixes CID 1039430
This commit is contained in:
parent
31d0a2d71c
commit
f4c71fba21
|
@ -137,12 +137,11 @@ ecore_x_netwm_supported_get(Ecore_X_Window root,
|
|||
{
|
||||
int num_ret;
|
||||
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(supported, EINA_FALSE);
|
||||
|
||||
if (num)
|
||||
*num = 0;
|
||||
|
||||
if (supported)
|
||||
*supported = NULL;
|
||||
|
||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
num_ret = ecore_x_window_prop_atom_list_get(root, ECORE_X_ATOM_NET_SUPPORTED,
|
||||
supported);
|
||||
|
|
Loading…
Reference in New Issue