提交 7f1db36f 编写于 作者: B Bernard Xiong

[finsh] fix the compiling warning for [-Wmisleading-indentation]

上级 c65ec96e
...@@ -405,7 +405,10 @@ void msh_auto_complete_path(char *path) ...@@ -405,7 +405,10 @@ void msh_auto_complete_path(char *path)
ptr = path; ptr = path;
for (;;) for (;;)
{ {
if (*ptr == '/') index = ptr + 1; if (!*ptr) break; ptr ++; if (*ptr == '/') index = ptr + 1;
if (!*ptr) break;
ptr ++;
} }
if (index == RT_NULL) index = path; if (index == RT_NULL) index = path;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册