!805 修复告警

Merge pull request !805 from dujingcheng/codecheck0228
This commit is contained in:
openharmony_ci 2022-03-01 03:52:08 +00:00 committed by Gitee
commit 2364616969
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1 additions and 3 deletions

View File

@ -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<COMPRESS_STRATEGY>(ret);
} else if (strProName == std::string("dictionary")) {
continue;
} else {
continue;
}

View File

@ -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)