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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Oct 24, 2013 at 04:42 UTC
38db01b7fbbf5c043dc7d397789bd8cf102b76ae
1 file changed
+1
-1
date.c
+1
-1
@@ -586,7 +586,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, int *num)
586
const char *end = date;
587
int i;
588
589
- while (isalpha(*++end));
589
+ while (isalpha(*++end))
590
;
591
592
for (i = 0; i < 12; i++) {