Skip to content

Commit 7f1db36

Browse files
committed
[finsh] fix the compiling warning for [-Wmisleading-indentation]
1 parent c65ec96 commit 7f1db36

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/finsh/msh.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,10 @@ void msh_auto_complete_path(char *path)
405405
ptr = path;
406406
for (;;)
407407
{
408-
if (*ptr == '/') index = ptr + 1; if (!*ptr) break; ptr ++;
408+
if (*ptr == '/') index = ptr + 1;
409+
if (!*ptr) break;
410+
411+
ptr ++;
409412
}
410413
if (index == RT_NULL) index = path;
411414

0 commit comments

Comments
 (0)