diff options
author | midipix <writeonce@midipix.org> | 2016-01-03 11:39:04 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-03 11:39:04 -0500 |
commit | 70ddd5167b4744002ac649f95012619c5f5e2721 (patch) | |
tree | bfb10727cf49ced45382c8d866e41e98fe364194 /src/internal/argv | |
parent | cb73f264a7d8141f60ca90449d5fec476d0c569e (diff) | |
download | sofort-70ddd5167b4744002ac649f95012619c5f5e2721.tar.bz2 sofort-70ddd5167b4744002ac649f95012619c5f5e2721.tar.xz |
argv.h: add (harmlessly) missing 'else' in ARGV_OPTARG_OPTIONAL code path.
Diffstat (limited to 'src/internal/argv')
-rw-r--r-- | src/internal/argv/argv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h index f2ea62c..d85cb2c 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; |