forked from enlightenment/enlightenment
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.
This commit is contained in:
parent
d042ce8fb5
commit
dd9a6637e4
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue