From 38db01b7fbbf5c043dc7d397789bd8cf102b76ae Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 24 Oct 2013 04:42:17 -0400 Subject: 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 Signed-off-by: Junio C Hamano --- date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/date.c b/date.c index d780846b66..21a5386782 100644 --- a/date.c +++ b/date.c @@ -586,7 +586,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, int *num) const char *end = date; int i; - while (isalpha(*++end)); + while (isalpha(*++end)) ; for (i = 0; i < 12; i++) { -- cgit v1.2.3