From 8f7d8e3bc35f2dbe535717008e6dc0a503afd03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?=
Date: Mon, 31 Aug 2009 19:28:28 +0100 Subject: [PATCH] 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. --- src/timeout.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/timeout.c b/src/timeout.c index 62f3d4b6e..6d9d10912 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.