summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-07 23:59:09 +0200
committerElliott Hughes <enh@google.com>2019-05-09 02:28:22 +0200
commit143a03fa034eb7b522a0f734689874907f5c99a0 (patch)
treec030d550e966ca0adc7dcf06ca417407f4a6fd0b /applypatch
parentMerge "Track libziparchive API change." (diff)
downloadandroid_bootable_recovery-143a03fa034eb7b522a0f734689874907f5c99a0.tar
android_bootable_recovery-143a03fa034eb7b522a0f734689874907f5c99a0.tar.gz
android_bootable_recovery-143a03fa034eb7b522a0f734689874907f5c99a0.tar.bz2
android_bootable_recovery-143a03fa034eb7b522a0f734689874907f5c99a0.tar.lz
android_bootable_recovery-143a03fa034eb7b522a0f734689874907f5c99a0.tar.xz
android_bootable_recovery-143a03fa034eb7b522a0f734689874907f5c99a0.tar.zst
android_bootable_recovery-143a03fa034eb7b522a0f734689874907f5c99a0.zip
Diffstat (limited to '')
-rw-r--r--applypatch/imgdiff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/imgdiff.cpp b/applypatch/imgdiff.cpp
index 415d95f14..cb34d4699 100644
--- a/applypatch/imgdiff.cpp
+++ b/applypatch/imgdiff.cpp
@@ -675,7 +675,7 @@ bool ZipModeImage::Initialize(const std::string& filename) {
// Iterate the zip entries and compose the image chunks accordingly.
bool ZipModeImage::InitializeChunks(const std::string& filename, ZipArchiveHandle handle) {
void* cookie;
- int ret = StartIteration(handle, &cookie, nullptr, nullptr);
+ int ret = StartIteration(handle, &cookie);
if (ret != 0) {
LOG(ERROR) << "Failed to iterate over entries in " << filename << ": " << ErrorCodeString(ret);
return false;