summaryrefslogtreecommitdiffstats
path: root/applypatch/imgdiff.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-10 01:18:32 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-05-10 01:18:32 +0200
commit774a79492a25767660494856500f90789fa3494e (patch)
treec74a3d34b0434ffc197dd0035c846ddf254e4474 /applypatch/imgdiff.cpp
parentMerge "Skip hashtree computation during block image verify" am: c046a61d97 (diff)
parentMerge "Track libziparchive API change." (diff)
downloadandroid_bootable_recovery-774a79492a25767660494856500f90789fa3494e.tar
android_bootable_recovery-774a79492a25767660494856500f90789fa3494e.tar.gz
android_bootable_recovery-774a79492a25767660494856500f90789fa3494e.tar.bz2
android_bootable_recovery-774a79492a25767660494856500f90789fa3494e.tar.lz
android_bootable_recovery-774a79492a25767660494856500f90789fa3494e.tar.xz
android_bootable_recovery-774a79492a25767660494856500f90789fa3494e.tar.zst
android_bootable_recovery-774a79492a25767660494856500f90789fa3494e.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;