[PATCH 26/34] login: assigned value is never read [clang-analyzer]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 login-utils/login.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/login-utils/login.c b/login-utils/login.c
index 89df489..fbfc199 100644
--- a/login-utils/login.c
+++ b/login-utils/login.c
@@ -1290,7 +1290,6 @@ int main(int argc, char **argv)
 			fprintf(stderr, _("Usage: login [-p] [-h <host>] [-H] [[-f] <username>]\n"));
 			exit(EXIT_FAILURE);
 		}
-	argc -= optind;
 	argv += optind;
 
 	if (*argv) {
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux