From: Eric Sandeen Date: Fri, 16 Sep 2011 20:49:18 +0000 (-0500) Subject: fsck: fix -C option parsing X-Git-Tag: v1.42-WIP-0925~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80f4b3ae490cc86c9eb0d5bac535b48676166a08;p=thirdparty%2Fe2fsprogs.git fsck: fix -C option parsing The i++; statement is unreachable; fix same as commit f1c2eaac535bd9172a35ce39b6d8f392321f274d in util-linux Signed-off-by: Eric Sandeen Signed-off-by: Theodore Ts'o --- diff --git a/misc/fsck.c b/misc/fsck.c index fe9426e0a..934523339 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -1179,8 +1179,8 @@ static void PRS(int argc, char *argv[]) if (progress_fd < 0) progress_fd = 0; else { + ++i; goto next_arg; - i++; } } break;