elementary: Fix compiler warning disgarding const qualifier
authorChris Michael <cp.michael@samsung.com>
Thu, 23 Jul 2015 13:44:06 +0000 (09:44 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 23 Jul 2015 13:44:06 +0000 (09:44 -0400)
Summary: eina_environment_tmp_get returns a const char string, so we
should declare the variable to match

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/elm_prefs_cc.c

index 5abccec..9f5da87 100644 (file)
@@ -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;