mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-18 19:52:28 +08:00
[finsh] fix the compiling warning for [-Wmisleading-indentation]
This commit is contained in:
@@ -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