commit | b354dcef986938a77c96da98c388e34394df7e3d | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Thu Mar 01 21:32:13 2018 +0000 |
committer | Adam Lesinski <adamlesinski@google.com> | Thu Mar 01 21:33:49 2018 +0000 |
tree | af358816e4b54866423191600db64f259cbc261b | |
parent | 45ee43b1acadc9635a547e41dcaf734f66678890 [diff] |
Remove empty zip warning on host builds Change-Id: Iaafe208930c316cc32f39ce2687be555b9eeb35f
diff --git a/libziparchive/zip_archive.cc b/libziparchive/zip_archive.cc index f9f8c73..5e5e7af 100644 --- a/libziparchive/zip_archive.cc +++ b/libziparchive/zip_archive.cc
@@ -224,7 +224,9 @@ return kInvalidOffset; } if (eocd->num_records == 0) { +#if defined(__ANDROID__) ALOGW("Zip: empty archive?"); +#endif return kEmptyArchive; }