hits: silence warnings about possible null string for strcmp

This commit is contained in:
Carsten Haitzler 2017-11-06 11:19:39 +09:00
parent dd9a6637e4
commit 4f5067dde9
1 changed files with 2 additions and 2 deletions

View File

@ -1782,7 +1782,7 @@ e_hints_aux_hint_add_with_pixmap(E_Pixmap *cp, int32_t id, const char *name, con
E_Comp_Wl_Aux_Hint *hint;
Eina_List *l;
if (!cp) return EINA_FALSE;
if ((!cp) || (!val) || (!name)) return EINA_FALSE;
cdata = (E_Comp_Wl_Client_Data*)e_pixmap_cdata_get(cp);
if (!cdata) return EINA_FALSE;
@ -1836,7 +1836,7 @@ e_hints_aux_hint_change_with_pixmap(E_Pixmap *cp, int32_t id, const char *val, i
E_Comp_Wl_Aux_Hint *hint;
Eina_Bool found = EINA_FALSE;
if (!cp) return EINA_FALSE;
if ((!cp) || (!val)) return EINA_FALSE;
cdata = (E_Comp_Wl_Client_Data*)e_pixmap_cdata_get(cp);
if (!cdata) return EINA_FALSE;