From: Michihiro NAKAJIMA Date: Mon, 9 Nov 2009 07:06:16 +0000 (-0500) Subject: Value stored to 'used' is never read. X-Git-Tag: v2.8.0~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c35157f5a3eccdb27694e76ac81e9f0a03325fd;p=thirdparty%2Flibarchive.git Value stored to 'used' is never read. Found by Clang Static Analyzer. SVN-Revision: 1619 --- diff --git a/libarchive/archive_read_support_compression_uu.c b/libarchive/archive_read_support_compression_uu.c index 24e3e8fb2..ee844ce27 100644 --- a/libarchive/archive_read_support_compression_uu.c +++ b/libarchive/archive_read_support_compression_uu.c @@ -459,7 +459,6 @@ read_more: if (uudecode->in_buff != b) memmove(uudecode->in_buff, b, len); uudecode->in_cnt = len; - used += len; if (total == 0) { /* Do not return 0; it means end-of-file. * We should try to read bytes more. */