Remove empty zip warning on host builds

Change-Id: Iaafe208930c316cc32f39ce2687be555b9eeb35f
This commit is contained in:
Adam Lesinski 2018-03-01 21:32:13 +00:00
parent 45ee43b1ac
commit b354dcef98
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}