]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Value stored to 'r' is never read.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 8 Nov 2009 19:24:12 +0000 (14:24 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 8 Nov 2009 19:24:12 +0000 (14:24 -0500)
Found by Clang Static Analyzer.

SVN-Revision: 1601

libarchive/archive_read_support_format_mtree.c

index 4850648cdbba9753799744c087a9937597762798..6328c4d8f76b711d3af91f9cc4e09f9e3f300bf1 100644 (file)
@@ -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);