efreet: putting local variable "data" under preprocessor flag "SLOPPY_SPEC" to avoid...
authorPrince Kumar Dubey <prince.dubey@samsung.com>
Mon, 16 Oct 2017 20:36:35 +0000 (13:36 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 16 Oct 2017 20:36:38 +0000 (13:36 -0700)
Reviewers: raster, cedric

Subscribers: jpeg, rajeshps

Differential Revision: https://phab.enlightenment.org/D5322

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/efreet/efreet_icon.c

index 47c62eb..5f17397 100644 (file)
@@ -267,7 +267,9 @@ efreet_icon_list_find(const char *theme_name, Eina_List *icons,
     Eina_List *tmps = NULL;
     const char *icon = NULL;
     const char *value = NULL;
+#ifdef SLOPPY_SPEC
     char *data;
+#endif
     Efreet_Icon_Theme *theme;
 
     EINA_SAFETY_ON_NULL_RETURN_VAL(icons, NULL);