From 55239b4ba74bfd89b442877e0a7eb19b238fada4 Mon Sep 17 00:00:00 2001 From: cperciva Date: Mon, 4 Aug 2008 06:39:52 +0000 Subject: Setting a variable to the same value twice doesn't actually make it more likely to have the right value. Remove superfluous assignments. Found by: LLVM/Clang Static Checker --- usr.bin/rs/rs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'usr.bin/rs/rs.c') diff --git a/usr.bin/rs/rs.c b/usr.bin/rs/rs.c index df01c57..82aaa9a 100644 --- a/usr.bin/rs/rs.c +++ b/usr.bin/rs/rs.c @@ -153,7 +153,6 @@ getfile(void) p++; } ep = getptrs(elem); - p = curline; do { if (flags & ONEPERLINE) { *ep = curline; -- cgit v1.1