forked from enlightenment/enlightenment
everything: fix warnings uninitialized and extraneous parentheses
This commit is contained in:
parent
de779ee133
commit
42d2387b70
|
@ -188,10 +188,10 @@ struct _Evry_Event_Action_Performed
|
||||||
eina_stringshare_replace(&(EVRY_ITEM(_it)->icon), _icon);
|
eina_stringshare_replace(&(EVRY_ITEM(_it)->icon), _icon);
|
||||||
|
|
||||||
#define CHECK_TYPE(_item, _type) \
|
#define CHECK_TYPE(_item, _type) \
|
||||||
(((Evry_Item *)_item)->type == _type)
|
((Evry_Item *)_item)->type == _type
|
||||||
|
|
||||||
#define CHECK_SUBTYPE(_item, _type) \
|
#define CHECK_SUBTYPE(_item, _type) \
|
||||||
(((Evry_Item *)_item)->subtype == _type)
|
((Evry_Item *)_item)->subtype == _type
|
||||||
|
|
||||||
#define IS_BROWSEABLE(_item) ((Evry_Item *)_item)->browseable
|
#define IS_BROWSEABLE(_item) ((Evry_Item *)_item)->browseable
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ evry_plugin_register(Evry_Plugin *p, int type, int priority)
|
||||||
{
|
{
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
Plugin_Config *pc;
|
Plugin_Config *pc;
|
||||||
Eina_List *conf;
|
Eina_List *conf = NULL;
|
||||||
int new_conf = 0;
|
int new_conf = 0;
|
||||||
|
|
||||||
if ((type < 0) || (type > 2))
|
if ((type < 0) || (type > 2))
|
||||||
|
|
Loading…
Reference in New Issue