未验证 提交 f7af2cdf 编写于 作者: O openharmony_ci 提交者: Gitee

!983 修复codecheck告警

Merge pull request !983 from 夏不白/codecheck
......@@ -564,7 +564,6 @@ int LfsClose(struct File *file)
}
ret = lfs_file_close((lfs_t *)mp->mData, lfsHandle);
if (ret != 0) {
errno = LittlefsErrno(ret);
ret = (int)LOS_NOK;
......
......@@ -212,7 +212,7 @@ static size_t GetCanonicalPath(const char *cwd, const char *path, char *buf, siz
}
#endif
static inline int VfsPathCheck(const char *path, bool isFile)
static int VfsPathCheck(const char *path, bool isFile)
{
size_t len;
if ((path == NULL) || (path[0] == '\0')) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册