summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-08-31 19:28:28 +0100
committerPádraig Brady <P@draigBrady.com>2009-09-01 11:07:15 +0100
commit8f7d8e3bc35f2dbe535717008e6dc0a503afd03f (patch)
tree55535fa4ec0fa499ad424fcad78a4df06d8101dd
parent0b1dcf33f5b9d0102b852a361135462708408a71 (diff)
downloadcoreutils-8f7d8e3bc35f2dbe535717008e6dc0a503afd03f.tar.xz
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.
-rw-r--r--src/timeout.c1
1 files changed, 0 insertions, 1 deletions
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.