summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-03 11:36:41 -0500
committermidipix <writeonce@midipix.org>2016-11-11 00:22:33 -0500
commit0e1e134e4faa93f452571014913695a3e0877e21 (patch)
tree7793c5c465f9761d899e1d7e75b80c3ef56dbc54 /src/internal
parent0a631020926daf5077aee3bacd792073a5ea154e (diff)
downloadmdso-0e1e134e4faa93f452571014913695a3e0877e21.tar.bz2
mdso-0e1e134e4faa93f452571014913695a3e0877e21.tar.xz
argv.h: add (harmlessly) missing 'else' in ARGV_OPTARG_OPTIONAL code path.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/argv/argv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h
index 4cd2b50..39a7d7e 100644
--- a/src/internal/argv/argv.h
+++ b/src/internal/argv/argv.h
@@ -393,7 +393,7 @@ static void argv_scan(
/* ARGV_OPTARG_OPTIONAL */
if (!val[0] && !*parg)
fval = false;
- if (*parg && is_short_option(*parg))
+ else if (*parg && is_short_option(*parg))
fval = false;
else if (*parg && is_long_option(*parg))
fval = false;