[PATCH 16/34] more: assigned value is never read [clang-analyzer]

Sami Kerola
2013-07-07T19:55:44Z

text-utils/more.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/text-utils/more.c b/text-utils/more.c
index bdc5bf9..62de6ad 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -1581,7 +1581,7 @@ void search(char buf[], FILE *file, register int n)
long startline = Ftell(file);
register long line1 = startline;
register long line2 = startline;
- register long line3 = startline;
+ register long line3;
register int lncount;
int saveln, rc;
regex_t re;
--
1.8.3.2