Remove unused variable in zip_hash_ancestors.
authorDavid Yip <dwyip@peach-bun.com>
Mon, 15 Aug 2016 00:50:58 -0500
changeset 1375 20ee02ea086c
parent 1374 c49f2eedba94
child 1376 e1f788a76b86
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
--- a/src/archiver_zip.c	Thu Feb 25 02:55:11 2016 -0500
+++ b/src/archiver_zip.c	Mon Aug 15 00:50:58 2016 -0500
@@ -845,7 +845,6 @@
     if (sep)
     {
         const size_t namelen = (sep - name) + 1;
-        ZIPentry *parent;
 
         *sep = '\0';  /* chop off last piece. */
         retval = zip_find_entry(info, name);