From: Pádraig Brady
Date: Mon, 31 Aug 2009 18:28:28 +0000 (+0100) Subject: timeout: remove a redundant assignment X-Git-Tag: v7.6~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f7d8e3bc35f2dbe535717008e6dc0a503afd03f;p=thirdparty%2Fcoreutils.git timeout: remove a redundant assignment * src/timeout.c (main): While keeping argc and argv in sync may be marginally useful, it is redundant to update argc, so just remove that to suppress the clang warning. --- diff --git a/src/timeout.c b/src/timeout.c index 62f3d4b6e2..6d9d109128 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -268,7 +268,6 @@ main (int argc, char **argv) } optind++; - argc -= optind; argv += optind; /* Ensure we're in our own group so all subprocesses can be killed.