Fix issues reported by Coverity and clear windows warnings (#2467)

This commit is contained in:
Wenyong Huang
2023-08-17 10:54:02 +08:00
committed by GitHub
parent 4ce675aacd
commit e2f8721ec9
5 changed files with 21 additions and 14 deletions

View File

@ -330,7 +330,7 @@ load_native_lib(const char *name)
if (ret != 0) {
LOG_WARNING("warning: `init_native_lib` function from native "
"lib %s failed with %d",
name);
name, ret);
goto fail;
}
}