discomfitor pushed a commit to branch enlightenment-0.22. http://git.enlightenment.org/core/enlightenment.git/commit/?id=24257c718a89d4225c93284e5911b45975fd1bbb
commit 24257c718a89d4225c93284e5911b45975fd1bbb Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Mon Nov 6 10:24:37 2017 +0900 e sys - frix warning for less noise though act will not be set unless mnt is also true... this means less noise from compiler wanrings so we can focus on real errors. --- src/bin/e_sys_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_sys_main.c b/src/bin/e_sys_main.c index acd1f038d..9043b5854 100644 --- a/src/bin/e_sys_main.c +++ b/src/bin/e_sys_main.c @@ -115,7 +115,7 @@ main(int argc, char *output = NULL; #ifdef HAVE_EEZE_MOUNT Eina_Bool mnt = EINA_FALSE; - const char *act; + const char *act = NULL; #endif gid_t gid, gl[65536], egid; @@ -355,6 +355,7 @@ main(int argc, const char *mp = NULL; Eina_Strbuf *buf = NULL; + if (!act) exit(40); if (!mount_args_check(argc, argv, act)) exit(40); /* all options are deemed safe at this point, so away we go! */ if (!strcmp(act, "mount")) --