summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorPrince Kumar Dubey <prince.dubey@samsung.com>2017-10-16 13:36:35 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-16 13:36:38 -0700
commite8b2a954b54973ecdce92c30ff9fddd0e7a77739 (patch)
tree917c09cf5572fbec0e8b186622385fa3ae4dbcb1 /src/lib/efreet
parent030a3448fb0b4c075cafe359a15c4dec6933e3c8 (diff)
efreet: putting local variable "data" under preprocessor flag "SLOPPY_SPEC" to avoid below warning, if "SLOPPY_SPEC" is disabled.
Reviewers: raster, cedric Subscribers: jpeg, rajeshps Differential Revision: https://phab.enlightenment.org/D5322 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_icon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_icon.c b/src/lib/efreet/efreet_icon.c
index 47c62eb2da..5f17397fed 100644
--- a/src/lib/efreet/efreet_icon.c
+++ b/src/lib/efreet/efreet_icon.c
@@ -267,7 +267,9 @@ efreet_icon_list_find(const char *theme_name, Eina_List *icons,
267 Eina_List *tmps = NULL; 267 Eina_List *tmps = NULL;
268 const char *icon = NULL; 268 const char *icon = NULL;
269 const char *value = NULL; 269 const char *value = NULL;
270#ifdef SLOPPY_SPEC
270 char *data; 271 char *data;
272#endif
271 Efreet_Icon_Theme *theme; 273 Efreet_Icon_Theme *theme;
272 274
273 EINA_SAFETY_ON_NULL_RETURN_VAL(icons, NULL); 275 EINA_SAFETY_ON_NULL_RETURN_VAL(icons, NULL);