aboutsummaryrefslogtreecommitdiff
path: root/missing/getopt_long.c
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2024-09-06 02:11:27 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2024-09-06 02:36:15 +0000
commit75d9de99aec2d9f3bdc495c91bbd6d7a2392e2a3 (patch)
tree99d6c086833d530e5d1d33a8128961f8149843f0 /missing/getopt_long.c
parent51a183021fce3928d24b11c319d2787f5a15ae87 (diff)
Diffstat (limited to 'missing/getopt_long.c')
-rw-r--r--missing/getopt_long.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/missing/getopt_long.c b/missing/getopt_long.c
index ece000623534..e9b1ef5770a1 100644
--- a/missing/getopt_long.c
+++ b/missing/getopt_long.c
@@ -419,8 +419,7 @@ start:
permute_args(nonopt_start, nonopt_end,
optind, nargv);
optind -= nonopt_end - nonopt_start;
- }
- else if (nonopt_start != -1) {
+ } else if (nonopt_start != -1) {
/*
* If we skipped non-options, set optind
* to the first of them.