diff options
author | Sami Kerola | 2013-07-07 21:54:31 +0200 |
---|---|---|
committer | Karel Zak | 2013-07-09 14:25:06 +0200 |
commit | f4ec8fa2e30022a31dc45ae76cbaf944901b8438 (patch) | |
tree | a65ac5dd51e560737078c2f23982efb5d21372eb /text-utils | |
parent | lscpu: fix memory leak [clang-analyzer] (diff) | |
download | kernel-qcow2-util-linux-f4ec8fa2e30022a31dc45ae76cbaf944901b8438.tar.gz kernel-qcow2-util-linux-f4ec8fa2e30022a31dc45ae76cbaf944901b8438.tar.xz kernel-qcow2-util-linux-f4ec8fa2e30022a31dc45ae76cbaf944901b8438.zip |
more: assigned value is never read [clang-analyzer]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils')
-rw-r--r-- | text-utils/more.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/more.c b/text-utils/more.c index 66de2bf94..8888a083b 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -1580,7 +1580,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; |