From: Michihiro NAKAJIMA Date: Sun, 8 Nov 2009 19:24:12 +0000 (-0500) Subject: Value stored to 'r' is never read. X-Git-Tag: v2.8.0~214 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ff5d1ececa23389fb5cbc215d51657b65a502d3;p=thirdparty%2Flibarchive.git Value stored to 'r' is never read. Found by Clang Static Analyzer. SVN-Revision: 1601 --- diff --git a/libarchive/archive_read_support_format_mtree.c b/libarchive/archive_read_support_format_mtree.c index 4850648cd..6328c4d8f 100644 --- a/libarchive/archive_read_support_format_mtree.c +++ b/libarchive/archive_read_support_format_mtree.c @@ -398,7 +398,6 @@ read_mtree(struct archive_read *a, struct mtree *mtree) global = NULL; last_entry = NULL; - r = ARCHIVE_OK; for (counter = 1; ; ++counter) { len = readline(a, mtree, &p, 256);