From 9293c3dc8d872d4ce72945d3b47c642ea7066c28 Mon Sep 17 00:00:00 2001 From: David Yip Date: Mon, 15 Aug 2016 00:50:58 -0500 Subject: [PATCH] Remove unused variable in zip_hash_ancestors. Under gcc 5.4.0, this generates unused variable warnings, which in combination with -Werror causes a compile error. --- src/archiver_zip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/archiver_zip.c b/src/archiver_zip.c index 5c4996df..3b436db2 100644 --- a/src/archiver_zip.c +++ b/src/archiver_zip.c @@ -845,7 +845,6 @@ static ZIPentry *zip_hash_ancestors(ZIPinfo *info, char *name) if (sep) { const size_t namelen = (sep - name) + 1; - ZIPentry *parent; *sep = '\0'; /* chop off last piece. */ retval = zip_find_entry(info, name);