projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1dcf3
)
timeout: remove a redundant assignment
author
Pádraig Brady
<P@draigBrady.com>
Mon, 31 Aug 2009 18:28:28 +0000
(19:28 +0100)
committer
Pá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
patch
|
blob
|
history
diff --git
a/src/timeout.c
b/src/timeout.c
index
62f3d4b
..
6d9d109
100644
(file)
--- 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.