mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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.
This commit is contained in:
1 parent
0b1dcf33f5
commit
8f7d8e3bc3
1 file changed
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user