Skip to content

Commit

Permalink
Merge branch 'jk/config-die-bad-number-noreturn'
Browse files Browse the repository at this point in the history
Squelch a false compiler warning from older gcc.

* jk/config-die-bad-number-noreturn:
  config.c: mark die_bad_number as NORETURN
  • Loading branch information
Junio C Hamano committed Apr 18, 2014
2 parents 8f87d54 + 06bdc23 commit 531675a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?
Expand Down

0 comments on commit 531675a

Please sign in to comment.