diff options
author | Elliott Hughes <enh@google.com> | 2019-05-09 23:32:52 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-09 23:32:52 +0200 |
commit | 6da27adb0bcac44ae092c385da9ba6a2be3319b6 (patch) | |
tree | 9f5cc5c5cb6c9fec552b28694849b14f39dba30b /applypatch/imgdiff.cpp | |
parent | Merge "Skip hashtree computation during block image verify" (diff) | |
parent | Track libziparchive API change. (diff) | |
download | android_bootable_recovery-6da27adb0bcac44ae092c385da9ba6a2be3319b6.tar android_bootable_recovery-6da27adb0bcac44ae092c385da9ba6a2be3319b6.tar.gz android_bootable_recovery-6da27adb0bcac44ae092c385da9ba6a2be3319b6.tar.bz2 android_bootable_recovery-6da27adb0bcac44ae092c385da9ba6a2be3319b6.tar.lz android_bootable_recovery-6da27adb0bcac44ae092c385da9ba6a2be3319b6.tar.xz android_bootable_recovery-6da27adb0bcac44ae092c385da9ba6a2be3319b6.tar.zst android_bootable_recovery-6da27adb0bcac44ae092c385da9ba6a2be3319b6.zip |
Diffstat (limited to '')
-rw-r--r-- | applypatch/imgdiff.cpp | 2 |
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; |