Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-09 22:40:00 +0400
committerRussell Belfer <rb@github.com>2013-04-09 22:40:00 +0400
commit9da187e83d1b8ab513a43fd54a9fe2be11b1703f (patch)
tree5a0ad82e821540fe5b23ee24c6fe53c9a59aa804 /src/date.c
parent94750e8af246b2adf7bd5766e7e0da5fcf928d24 (diff)
Fix clang warnings and improve checks
Diffstat (limited to 'src/date.c')
-rw-r--r--src/date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c
index bbf88eb44..ce1721a0b 100644
--- a/src/date.c
+++ b/src/date.c
@@ -681,8 +681,8 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, struct tm
const char *end = date;
int i;
- while (isalpha(*++end));
- ;
+ while (isalpha(*++end))
+ /* scan to non-alpha */;
for (i = 0; i < 12; i++) {
size_t match = match_string(date, month_names[i]);