Browse Source

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
maint
Junio C Hamano 11 years ago
parent
commit
531675ad17
  1. 1
      config.c

1
config.c

@ -557,6 +557,7 @@ int git_parse_ulong(const char *value, unsigned long *ret) @@ -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 ?

Loading…
Cancel
Save