Merge "Remove empty zip warning on host builds"
This commit is contained in:
commit
fd42c09813
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue