summaryrefslogtreecommitdiffstats
path: root/minzip/Zip.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-06-24 02:34:45 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-06-24 02:34:45 +0200
commit719e4e5d9bb7b7f9ffbe48407feee8c985ce7623 (patch)
tree861988b9d20d5527ffb1ee7fa002f2f16492c5e4 /minzip/Zip.c
parentMerge "Allow sideloading without authentication." (diff)
parentJust use fstat in sysMapFile. (diff)
downloadandroid_bootable_recovery-719e4e5d9bb7b7f9ffbe48407feee8c985ce7623.tar
android_bootable_recovery-719e4e5d9bb7b7f9ffbe48407feee8c985ce7623.tar.gz
android_bootable_recovery-719e4e5d9bb7b7f9ffbe48407feee8c985ce7623.tar.bz2
android_bootable_recovery-719e4e5d9bb7b7f9ffbe48407feee8c985ce7623.tar.lz
android_bootable_recovery-719e4e5d9bb7b7f9ffbe48407feee8c985ce7623.tar.xz
android_bootable_recovery-719e4e5d9bb7b7f9ffbe48407feee8c985ce7623.tar.zst
android_bootable_recovery-719e4e5d9bb7b7f9ffbe48407feee8c985ce7623.zip
Diffstat (limited to 'minzip/Zip.c')
-rw-r--r--minzip/Zip.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/minzip/Zip.c b/minzip/Zip.c
index a64c833f9..c1dec742d 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;