[finsh] fix the compiling warning for [-Wmisleading-indentation]
This commit is contained in:
parent
c65ec96e8c
commit
7f1db36f39
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue