Skip to content

Commit ba1c05c

Browse files
committed
compiler warning
warning: suggest a space before ‘;’ or explicit braces around empty body in ‘for’ statement
1 parent 925b6ee commit ba1c05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra/mariabackup/backup_copy.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ mkdirp(const char *pathname, int Flags, myf MyFlags)
654654
parent[len-1]= 0;
655655

656656
for (p = parent + strlen(parent);
657-
!is_path_separator(*p) && p != parent; p--);
657+
!is_path_separator(*p) && p != parent; p--) ;
658658

659659
*p = 0;
660660

0 commit comments

Comments
 (0)