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:
1
config.c
1
config.c
@ -557,6 +557,7 @@ int git_parse_ulong(const char *value, unsigned long *ret)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NORETURN
|
||||||
static void die_bad_number(const char *name, const char *value)
|
static void die_bad_number(const char *name, const char *value)
|
||||||
{
|
{
|
||||||
const char *reason = errno == ERANGE ?
|
const char *reason = errno == ERANGE ?
|
||||||
|
Reference in New Issue
Block a user