зеркало из https://github.com/microsoft/git.git
Merge branch 'jk/config-die-bad-number-noreturn'
Squelch a false compiler warning from older gcc. * jk/config-die-bad-number-noreturn: config.c: mark die_bad_number as NORETURN
This commit is contained in:
Коммит
531675ad17
1
config.c
1
config.c
|
@ -557,6 +557,7 @@ int git_parse_ulong(const char *value, unsigned long *ret)
|
|||
return 1;
|
||||
}
|
||||
|
||||
NORETURN
|
||||
static void die_bad_number(const char *name, const char *value)
|
||||
{
|
||||
const char *reason = errno == ERANGE ?
|
||||
|
|
Загрузка…
Ссылка в новой задаче