timeout: remove a redundant assignment
authorPádraig Brady <P@draigBrady.com>
Mon, 31 Aug 2009 18:28:28 +0000 (19:28 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 1 Sep 2009 10:07:15 +0000 (11:07 +0100)
* 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

index 62f3d4b..6d9d109 100644 (file)
@@ -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.