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>
This commit is contained in:
Prince Kumar Dubey 2017-10-16 13:36:35 -07:00 committed by Cedric BAIL
parent 030a3448fb
commit e8b2a954b5
1 changed files with 2 additions and 0 deletions

View 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);