diff options
author | Elliott Hughes <enh@google.com> | 2015-06-23 12:31:02 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-07 19:02:26 -0800 |
commit | f4d304f18d0912d15852f2bc4d435246ef10cbff (patch) | |
tree | d0f09653e19df7c5b8baee34aa83a4e5cc4de32b /minzip/Zip.c | |
parent | 6e8d63857eba5f3d7ef2661e674a258f9d1934f2 (diff) | |
download | bootable_recovery-f4d304f18d0912d15852f2bc4d435246ef10cbff.zip bootable_recovery-f4d304f18d0912d15852f2bc4d435246ef10cbff.tar.gz bootable_recovery-f4d304f18d0912d15852f2bc4d435246ef10cbff.tar.bz2 |
Just use fstat in sysMapFile.
Also turn on -Werror and remove a dead function.
Change-Id: I436f0a91c40e36db985190b3b98b0a4527cf0eeb
Diffstat (limited to 'minzip/Zip.c')
-rw-r--r-- | minzip/Zip.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/minzip/Zip.c b/minzip/Zip.c index a64c833..c1dec74 100644 --- a/minzip/Zip.c +++ b/minzip/Zip.c @@ -619,13 +619,6 @@ bool mzProcessZipEntryContents(const ZipArchive *pArchive, return ret; } -static bool crcProcessFunction(const unsigned char *data, int dataLen, - void *crc) -{ - *(unsigned long *)crc = crc32(*(unsigned long *)crc, data, dataLen); - return true; -} - typedef struct { char *buf; int bufLen; |