summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-09-08 00:24:58 +0200
committerTianjie Xu <xunchang@google.com>2018-10-04 23:11:11 +0200
commit2050579b79f495832ec8aa11655a809d87bfc8e3 (patch)
treebb59b4146400dc069b95d0498c206abef0ddf88b /updater
parentImport translations. DO NOT MERGE (diff)
downloadandroid_bootable_recovery-2050579b79f495832ec8aa11655a809d87bfc8e3.tar
android_bootable_recovery-2050579b79f495832ec8aa11655a809d87bfc8e3.tar.gz
android_bootable_recovery-2050579b79f495832ec8aa11655a809d87bfc8e3.tar.bz2
android_bootable_recovery-2050579b79f495832ec8aa11655a809d87bfc8e3.tar.lz
android_bootable_recovery-2050579b79f495832ec8aa11655a809d87bfc8e3.tar.xz
android_bootable_recovery-2050579b79f495832ec8aa11655a809d87bfc8e3.tar.zst
android_bootable_recovery-2050579b79f495832ec8aa11655a809d87bfc8e3.zip
Diffstat (limited to '')
-rw-r--r--updater/updater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/updater.cpp b/updater/updater.cpp
index e956dd557..96755735e 100644
--- a/updater/updater.cpp
+++ b/updater/updater.cpp
@@ -77,7 +77,7 @@ int main(int argc, char** argv) {
printf("failed to map package %s\n", argv[3]);
return 3;
}
- ZipArchive za;
+ ZipArchive za = {};
int err;
err = mzOpenZipArchive(map.addr, map.length, &za);
if (err != 0) {