Merge "Enable -Werror on zipalign"

This commit is contained in:
Ying Wang 2016-03-18 17:37:17 +00:00 committed by Gerrit Code Review
commit de005f0c85
2 changed files with 3 additions and 2 deletions

View file

@ -35,4 +35,6 @@ endif # BUILD_HOST_static
LOCAL_MODULE := zipalign
LOCAL_MODULE_HOST_OS := darwin linux windows
LOCAL_CFLAGS := -Werror
include $(BUILD_HOST_EXECUTABLE)

View file

@ -142,7 +142,7 @@ void ZipEntry::initNew(const char* fileName, const char* comment)
*
* Initializes the CDE and the LFH.
*/
status_t ZipEntry::initFromExternal(const ZipFile* pZipFile,
status_t ZipEntry::initFromExternal(const ZipFile*,
const ZipEntry* pEntry)
{
/*
@ -694,4 +694,3 @@ void ZipEntry::CentralDirEntry::dump(void) const
if (mFileComment != NULL)
ALOGD(" comment: '%s'\n", mFileComment);
}