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-09-08 01:09:28 +0200
commite830a51351f4e22e3e88cc226863db05297e6250 (patch)
tree2932324bc62e6f3dc701ac190cda7aec5e992533 /updater
parentDO NOT MERGE: resolve merge conflicts of 5346da02 to klp-modular-dev am: 4eb997d52b -s ours am: 3591cb48f5 -s ours am: 8bdb13dd9a am: 0d750f900b -s ours am: 457ad2dc3c am: d1c3bdd8c2 am: 9930b28456 (diff)
downloadandroid_bootable_recovery-e830a51351f4e22e3e88cc226863db05297e6250.tar
android_bootable_recovery-e830a51351f4e22e3e88cc226863db05297e6250.tar.gz
android_bootable_recovery-e830a51351f4e22e3e88cc226863db05297e6250.tar.bz2
android_bootable_recovery-e830a51351f4e22e3e88cc226863db05297e6250.tar.lz
android_bootable_recovery-e830a51351f4e22e3e88cc226863db05297e6250.tar.xz
android_bootable_recovery-e830a51351f4e22e3e88cc226863db05297e6250.tar.zst
android_bootable_recovery-e830a51351f4e22e3e88cc226863db05297e6250.zip
Diffstat (limited to 'updater')
-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) {