[PATCH 21/34] mesg: assigned value is never read [clang-analyzer]

Sami Kerola
2013-07-07T19:56:00Z

term-utils/mesg.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/term-utils/mesg.c b/term-utils/mesg.c
index 430236f..638a8c7 100644
--- a/term-utils/mesg.c
+++ b/term-utils/mesg.c
@@ -115,7 +115,6 @@ int main(int argc, char *argv[])
usage(stderr);
}

- argc -= optind;
argv += optind;

if ((tty = ttyname(STDERR_FILENO)) == NULL)
--
1.8.3.2