1
0
mirror of https://github.com/git/git synced 2024-07-02 15:48:44 +00:00

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>
This commit is contained in:
Jeff King 2013-10-24 04:42:17 -04:00 committed by Junio C Hamano
parent 5df7dbbae4
commit 38db01b7fb

2
date.c
View File

@ -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++) {