Fix 2 unused parameter warnings in zipalign.
ZipFile parameter was not used and therefore can be removed.
Bug: 26936282
Change-Id: Id2b6e693b40571b7e7486304a6effaedc1b3c940
diff --git a/tools/zipalign/ZipFile.cpp b/tools/zipalign/ZipFile.cpp
index 7c3ff37..4edf0aa 100644
--- a/tools/zipalign/ZipFile.cpp
+++ b/tools/zipalign/ZipFile.cpp
@@ -566,7 +566,7 @@
goto bail;
}
- result = pEntry->initFromExternal(pSourceZip, pSourceEntry);
+ result = pEntry->initFromExternal(pSourceEntry);
if (result != NO_ERROR)
goto bail;
if (padding != 0) {
@@ -673,7 +673,7 @@
goto bail;
}
- result = pEntry->initFromExternal(pSourceZip, pSourceEntry);
+ result = pEntry->initFromExternal(pSourceEntry);
if (result != NO_ERROR)
goto bail;