Skip to content

Commit 531675a

Browse files
committed
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
2 parents 8f87d54 + 06bdc23 commit 531675a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ int git_parse_ulong(const char *value, unsigned long *ret)
557557
return 1;
558558
}
559559

560+
NORETURN
560561
static void die_bad_number(const char *name, const char *value)
561562
{
562563
const char *reason = errno == ERANGE ?

0 commit comments

Comments
 (0)