aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/zip_main.cc
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-06-01 14:45:21 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2015-06-01 15:50:49 +0000
commiteb6e90397eff1083f0574b6cbd94eb9f42d2d239 (patch)
tree7eac158033f6db031ea5ac167f75fd3ff800c4a1 /third_party/ijar/zip_main.cc
parent14b437bf749baf0488cfc7e4ed7589dc4af9bec3 (diff)
Use the ijar ZIP implementation in Blaze instead of libarchive
This ZIP implementation is lightweight and rely on zlib for compression. libarchive was a bit tricky to set-up so it's better to use that one. -- Change-Id: I607b492998572e834e095a4606eeb77c0b574542 Reviewed-on: https://bazel-review.googlesource.com/#/c/1410/ MOS_MIGRATED_REVID=94910072
Diffstat (limited to 'third_party/ijar/zip_main.cc')
-rw-r--r--third_party/ijar/zip_main.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/third_party/ijar/zip_main.cc b/third_party/ijar/zip_main.cc
index 096662368c..11b0c06f58 100644
--- a/third_party/ijar/zip_main.cc
+++ b/third_party/ijar/zip_main.cc
@@ -72,7 +72,6 @@ class UnzipProcessor : public ZipExtractorProcessor {
void concat_path(char* out, const size_t size,
const char *path1, const char *path2) {
int len1 = strlen(path1);
- int len2 = strlen(path2);
int l = len1;
strncpy(out, path1, size-1);
out[size-1] = 0;