Skip to content

Commit

Permalink
Merge branch 'sb/archive-zip-double-assignment-fix' into maint
Browse files Browse the repository at this point in the history
* sb/archive-zip-double-assignment-fix:
  archive-zip:write_zip_entry: Remove second reset of size variable to zero.
  • Loading branch information
gitster committed Jul 19, 2013
2 parents 6741edc + be706c6 commit 509152d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion archive-zip.c
Expand Up @@ -232,7 +232,6 @@ static int write_zip_entry(struct archiver_args *args,
size = 0;
compressed_size = 0;
buffer = NULL;
size = 0;
} else if (S_ISREG(mode) || S_ISLNK(mode)) {
enum object_type type = sha1_object_info(sha1, &size);

Expand Down

0 comments on commit 509152d

Please sign in to comment.