diff options
Diffstat (limited to 'src/notify/notify.c')
-rw-r--r-- | src/notify/notify.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notify/notify.c b/src/notify/notify.c index 2148ae0dfe..6f1c52e3fb 100644 --- a/src/notify/notify.c +++ b/src/notify/notify.c @@ -82,7 +82,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) + while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) { switch (c) { @@ -129,6 +129,7 @@ static int parse_argv(int argc, char *argv[]) { default: assert_not_reached("Unhandled option"); } + } if (optind >= argc && !arg_ready && |