Skip to content

Commit

Permalink
Remove unused variable in zip_hash_ancestors.
Browse files Browse the repository at this point in the history
Under gcc 5.4.0, this generates unused variable warnings, which in combination
with -Werror causes a compile error.
  • Loading branch information
hannahwhy committed Aug 15, 2016
1 parent c3cc732 commit 9293c3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/archiver_zip.c
Expand Up @@ -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);
Expand Down

0 comments on commit 9293c3d

Please sign in to comment.