Browse Source

Merge branch 'sb/archive-zip-double-assignment-fix'

* sb/archive-zip-double-assignment-fix:
  archive-zip:write_zip_entry: Remove second reset of size variable to zero.
maint
Junio C Hamano 12 years ago
parent
commit
d4f6b5f51c
  1. 1
      archive-zip.c

1
archive-zip.c

@ -232,7 +232,6 @@ static int write_zip_entry(struct archiver_args *args, @@ -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);


Loading…
Cancel
Save