Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
scripts: "export VAR=VALUE" construct is not portable
[gitweb.git]
/
archive-zip.c
diff --git
a/archive-zip.c
b/archive-zip.c
index b2c4fe0e9f9816a6cb79aa8f7a0cb59ae5bf7f8d..4bde019bce632703d4e336d6404693487cdbcdfb 100644
(file)
--- a/
archive-zip.c
+++ b/
archive-zip.c
@@
-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);