[PATCH 22/34] rev: 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>
---
 text-utils/rev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/text-utils/rev.c b/text-utils/rev.c
index 13249de..0764466 100644
--- a/text-utils/rev.c
+++ b/text-utils/rev.c
@@ -121,7 +121,6 @@ int main(int argc, char *argv[])
 			usage(stderr);
 		}
 
-	argc -= optind;
 	argv += optind;
 
 	buf = xmalloc(bufsiz * sizeof(wchar_t));
@@ -173,3 +172,4 @@ int main(int argc, char *argv[])
 	return rval;
 }
 
+ 
-- 
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