From: Jeff King Date: Thu, 24 Oct 2013 08:42:17 +0000 (-0400) Subject: drop redundant semicolon in empty while X-Git-Tag: v1.8.5-rc0~3^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38db01b7fbbf5c043dc7d397789bd8cf102b76ae;p=git 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 --- 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++) {