提交 1992d175 编写于 作者: B bernard.xiong

fix compiler warning.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1661 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 b49db5f7
......@@ -297,6 +297,8 @@ char* dfs_normalize_path(const char* directory, const char* filename)
src = fullpath;
dst = fullpath;
dst0 = dst;
while (1)
{
char c = *src;
......
......@@ -385,6 +385,7 @@ int dfs_file_rename(const char* oldpath, const char* newpath)
char *oldfullpath, *newfullpath;
result = DFS_STATUS_OK;
newfullpath = RT_NULL;
oldfullpath = dfs_normalize_path(RT_NULL, oldpath);
if ( oldfullpath == RT_NULL )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册