Skip to content

Commit 38db01b

Browse files
peffgitster
authored andcommitted
drop redundant semicolon in empty while
The extra semi-colon is harmless, since we really do want the while loop to do nothing. But it does trigger a warning from clang. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5df7dbb commit 38db01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, int *num)
586586
const char *end = date;
587587
int i;
588588

589-
while (isalpha(*++end));
589+
while (isalpha(*++end))
590590
;
591591

592592
for (i = 0; i < 12; i++) {

0 commit comments

Comments
 (0)