From 2a5bc9dfbf7c6a80e5f7cb4dd05b4036741478bc Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 3 Oct 2017 13:45:03 -0700 Subject: Use -Werror in build/make * Remove unused local variables. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Iced5bb903902f49d7cd5cf5f572906a512c75e18 --- tools/zipalign/ZipFile.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/zipalign/ZipFile.cpp') diff --git a/tools/zipalign/ZipFile.cpp b/tools/zipalign/ZipFile.cpp index 1b39902271..719c6b9bf5 100644 --- a/tools/zipalign/ZipFile.cpp +++ b/tools/zipalign/ZipFile.cpp @@ -785,8 +785,6 @@ status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, uint32_t* pCRC32) status_t ZipFile::copyDataToFp(FILE* dstFp, const void* data, size_t size, uint32_t* pCRC32) { - size_t count; - *pCRC32 = crc32(0L, Z_NULL, 0); if (size > 0) { *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size); -- cgit v1.2.3-59-g8ed1b