From: Chris Michael Date: Thu, 23 Jul 2015 13:44:06 +0000 (-0400) Subject: elementary: Fix compiler warning disgarding const qualifier X-Git-Tag: v1.15.0-beta3~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ff8f77f7bbdcbdf344eed9dfd0b16b75bc7c8fb;p=platform%2Fupstream%2Felementary.git elementary: Fix compiler warning disgarding const qualifier Summary: eina_environment_tmp_get returns a const char string, so we should declare the variable to match @fix Signed-off-by: Chris Michael --- diff --git a/src/bin/elm_prefs_cc.c b/src/bin/elm_prefs_cc.c index 5abccec..9f5da87 100644 --- a/src/bin/elm_prefs_cc.c +++ b/src/bin/elm_prefs_cc.c @@ -14,7 +14,7 @@ static void main_help(void); Eina_Prefix *pfx = NULL; char *file_in = NULL; -char *tmp_dir = NULL; +const char *tmp_dir = NULL; char *file_out = NULL; static const char *progname = NULL;