diff options
Diffstat (limited to 'btrfs-convert.c')
-rw-r--r-- | btrfs-convert.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/btrfs-convert.c b/btrfs-convert.c index c7ff8280..f9dd7346 100644 --- a/btrfs-convert.c +++ b/btrfs-convert.c @@ -2838,7 +2838,6 @@ int main(int argc, char *argv[]) char *fslabel = NULL; while(1) { - int long_index; enum { GETOPT_VAL_NO_PROGRESS = 256 }; static const struct option long_options[] = { { "no-progress", no_argument, NULL, @@ -2853,8 +2852,7 @@ int main(int argc, char *argv[]) { "nodesize", required_argument, NULL, 'N' }, { NULL, 0, NULL, 0 } }; - int c = getopt_long(argc, argv, "dinN:rl:Lp", long_options, - &long_index); + int c = getopt_long(argc, argv, "dinN:rl:Lp", long_options, NULL); if (c < 0) break; |