summaryrefslogtreecommitdiff
path: root/tools/zipalign/ZipFile.cpp
diff options
context:
space:
mode:
author Aurimas Liutikas <aurimas@google.com> 2016-02-11 18:11:21 -0800
committer Aurimas Liutikas <aurimas@google.com> 2016-02-12 02:13:30 +0000
commitaf1d7411825e589f09074c04bbbd80497b60e9e9 (patch)
tree8811d841c6dcf63a919b8994ce8fdec2074f7f4b /tools/zipalign/ZipFile.cpp
parent0c5c50997b5a414774144a2d2f75055fcb055cdd (diff)
Fix 2 unused parameter warnings in zipalign.
ZipFile parameter was not used and therefore can be removed. Bug: 26936282 Change-Id: Id2b6e693b40571b7e7486304a6effaedc1b3c940
Diffstat (limited to 'tools/zipalign/ZipFile.cpp')
-rw-r--r--tools/zipalign/ZipFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/zipalign/ZipFile.cpp b/tools/zipalign/ZipFile.cpp
index 7c3ff3746c..4edf0aa394 100644
--- a/tools/zipalign/ZipFile.cpp
+++ b/tools/zipalign/ZipFile.cpp
@@ -566,7 +566,7 @@ status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
goto bail;
}
- result = pEntry->initFromExternal(pSourceZip, pSourceEntry);
+ result = pEntry->initFromExternal(pSourceEntry);
if (result != NO_ERROR)
goto bail;
if (padding != 0) {
@@ -673,7 +673,7 @@ status_t ZipFile::addRecompress(const ZipFile* pSourceZip, const ZipEntry* pSour
goto bail;
}
- result = pEntry->initFromExternal(pSourceZip, pSourceEntry);
+ result = pEntry->initFromExternal(pSourceEntry);
if (result != NO_ERROR)
goto bail;