diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-05-07 11:44:32 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-05-07 11:44:32 +0200 |
commit | 42d2387b70d7bba4c3cefaa131a477a7ec50eaf8 (patch) | |
tree | 12cb3ae3e0f6a83049421398649006c577e505b5 | |
parent | de779ee13342e6a007984aa7be0dd6bbfe728542 (diff) | |
download | enlightenment-42d2387b70d7bba4c3cefaa131a477a7ec50eaf8.tar.gz |
everything: fix warnings uninitialized and extraneous parentheses
-rw-r--r-- | src/modules/everything/evry_api.h | 4 | ||||
-rw-r--r-- | src/modules/everything/evry_plugin.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/everything/evry_api.h b/src/modules/everything/evry_api.h index 27997f9abc..e4844877a3 100644 --- a/src/modules/everything/evry_api.h +++ b/src/modules/everything/evry_api.h @@ -188,10 +188,10 @@ struct _Evry_Event_Action_Performed eina_stringshare_replace(&(EVRY_ITEM(_it)->icon), _icon); #define CHECK_TYPE(_item, _type) \ - (((Evry_Item *)_item)->type == _type) + ((Evry_Item *)_item)->type == _type #define CHECK_SUBTYPE(_item, _type) \ - (((Evry_Item *)_item)->subtype == _type) + ((Evry_Item *)_item)->subtype == _type #define IS_BROWSEABLE(_item) ((Evry_Item *)_item)->browseable diff --git a/src/modules/everything/evry_plugin.c b/src/modules/everything/evry_plugin.c index 352b1e1780..5ff6981328 100644 --- a/src/modules/everything/evry_plugin.c +++ b/src/modules/everything/evry_plugin.c @@ -113,7 +113,7 @@ evry_plugin_register(Evry_Plugin *p, int type, int priority) { Eina_List *l; Plugin_Config *pc; - Eina_List *conf; + Eina_List *conf = NULL; int new_conf = 0; if ((type < 0) || (type > 2)) |