提交 5bf90426 编写于 作者: L liubb 提交者: Gitee

update js/builtin/kvstorekit/src/nativeapi_kv_impl.c.

utils去除冗余判断
上级 a946feb1
......@@ -59,7 +59,7 @@ static int GetKvFolder(const char* dataPath)
static int GetRealPath(const char* originPath, char* trustPath, size_t tPathLen)
{
#if (defined _WIN32 || defined _WIN64)
if (PathCanonicalize(originPath, trustPath) == true) {
if (PathCanonicalize(trustPath, originPath)) {
return NATIVE_SUCCESS;
}
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册