diff options
author | 2017-10-03 13:45:03 -0700 | |
---|---|---|
committer | 2017-10-03 13:53:13 -0700 | |
commit | 2a5bc9dfbf7c6a80e5f7cb4dd05b4036741478bc (patch) | |
tree | 568cf642f3b1ec7945bdef71e3cfbc197a7c5bdb /tools/zipalign/ZipFile.cpp | |
parent | 40ef25d7bd9de2a33c56d9777243b96d91fdec6b (diff) |
Use -Werror in build/make
* Remove unused local variables.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Iced5bb903902f49d7cd5cf5f572906a512c75e18
Diffstat (limited to 'tools/zipalign/ZipFile.cpp')
-rw-r--r-- | tools/zipalign/ZipFile.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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); |