mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-27 02:40:00 +08:00
[finsh] fix the compiling warning for [-Wmisleading-indentation]
This commit is contained in:
1 parent
c65ec96e8c
commit
7f1db36f39
1 file changed
+4
-1
@@ -405,7 +405,10 @@ void msh_auto_complete_path(char *path)
|
||||
ptr = path;
|
||||
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user