diff options
author | Andreas Gampe <agampe@google.com> | 2014-09-30 20:55:57 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-10-01 16:18:06 -0700 |
commit | 2412f84064c26b643c722ce914a97c4ec7776c69 (patch) | |
tree | 978c6b2e82fceee9153ffe612cfbb67e4b1b8c57 /tools/aapt/ZipFile.cpp | |
parent | c46dbe8ac4748a0084b026524ad9e5ac44fb9fde (diff) |
Frameworks/base: Fix AAPT warnings
Turn on -Wall -Werror. Fix warnings.
Change-Id: I287fb3c1e851c654479bcf9ea8c73bd354a6b2a1
Diffstat (limited to 'tools/aapt/ZipFile.cpp')
-rw-r--r-- | tools/aapt/ZipFile.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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); |