From 2412f84064c26b643c722ce914a97c4ec7776c69 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 30 Sep 2014 20:55:57 -0700 Subject: Frameworks/base: Fix AAPT warnings Turn on -Wall -Werror. Fix warnings. Change-Id: I287fb3c1e851c654479bcf9ea8c73bd354a6b2a1 --- tools/aapt/ZipFile.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/aapt/ZipFile.cpp') diff --git a/tools/aapt/ZipFile.cpp b/tools/aapt/ZipFile.cpp index 8057068dd685..36f4e73b3ac2 100644 --- a/tools/aapt/ZipFile.cpp +++ b/tools/aapt/ZipFile.cpp @@ -676,8 +676,6 @@ status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32) status_t ZipFile::copyDataToFp(FILE* dstFp, const void* data, size_t size, unsigned long* 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