Commit 8c507076 authored by Bernhard Nortmann's avatar Bernhard Nortmann
Browse files

fexc: Clarify intent of opt_string adjustment



This also avoids a possible compiler warning (-Wstring-plus-int).
Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
parent c3d04a4b
......@@ -247,7 +247,8 @@ int main(int argc, char *argv[])
int app_mode = app_choose_mode(argv[0]);
const char *opt_string = "I:O:vq?"+ ((app_mode == 0)? 0: 4);
const char *opt_string = "I:O:vq?";
if (app_mode != 0) opt_string += 4; /* disallow -I and -O */
int opt, ret = 1;
int verbose = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment