summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-10-24 08:42:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-24 22:41:01 (GMT)
commit38db01b7fbbf5c043dc7d397789bd8cf102b76ae (patch)
treec16120ab74a6ccdb092f867031520c02d4efa32e /date.c
parent5df7dbbae4a51e20afc00acc5c87ea4536d1302c (diff)
downloadgit-38db01b7fbbf5c043dc7d397789bd8cf102b76ae.zip
git-38db01b7fbbf5c043dc7d397789bd8cf102b76ae.tar.gz
git-38db01b7fbbf5c043dc7d397789bd8cf102b76ae.tar.bz2
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>
Diffstat (limited to 'date.c')
-rw-r--r--date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/date.c b/date.c
index d780846..21a5386 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++) {