diff --git a/tools/zip/kits/napi/napi_zlib.cpp b/tools/zip/kits/napi/napi_zlib.cpp index 1e496225..34637373 100644 --- a/tools/zip/kits/napi/napi_zlib.cpp +++ b/tools/zip/kits/napi/napi_zlib.cpp @@ -492,8 +492,6 @@ bool UnwrapOptionsParams(OPTIONS &options, napi_env env, napi_value arg) NAPI_CALL_BASE_BOOL(UnwrapIntValue(env, jsProValue, ret), false); COMPRESS_STRATEGY_CHECK(ret, false) options.strategy = static_cast(ret); - } else if (strProName == std::string("dictionary")) { - continue; } else { continue; } diff --git a/tools/zip/src/zip_reader.cpp b/tools/zip/src/zip_reader.cpp index 2e6e9e42..9173dcf0 100644 --- a/tools/zip/src/zip_reader.cpp +++ b/tools/zip/src/zip_reader.cpp @@ -33,7 +33,7 @@ namespace OHOS { namespace AAFwk { namespace LIBZIP { -// TODO(satorux): The implementation assumes that file names in zip files +// The implementation assumes that file names in zip files // are encoded in UTF-8. This is true for zip files created by Zip() // function in zip.h, but not true for user-supplied random zip files. ZipReader::EntryInfo::EntryInfo(const std::string &fileNameInZip, const unz_file_info &rawFileInfo)