зеркало из https://github.com/microsoft/git.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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
5df7dbbae4
Коммит
38db01b7fb
2
date.c
2
date.c
|
@ -586,7 +586,7 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, int *num)
|
||||||
const char *end = date;
|
const char *end = date;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
while (isalpha(*++end));
|
while (isalpha(*++end))
|
||||||
;
|
;
|
||||||
|
|
||||||
for (i = 0; i < 12; i++) {
|
for (i = 0; i < 12; i++) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче