Merge "Remove empty zip warning on host builds" am: fd42c09813
am: c9c0460e99
Change-Id: Ie22226ad9a9c0dc5f3fbc4a841936cdecabf3cc4
This commit is contained in:
commit
fbd68ec85e
|
@ -224,7 +224,9 @@ static int32_t MapCentralDirectory0(const char* debug_file_name, ZipArchive* arc
|
|||
return kInvalidOffset;
|
||||
}
|
||||
if (eocd->num_records == 0) {
|
||||
#if defined(__ANDROID__)
|
||||
ALOGW("Zip: empty archive?");
|
||||
#endif
|
||||
return kEmptyArchive;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue