config.c: mark die_bad_number as NORETURN
commit06bdc23b7e5b20ab06bf0feb3d463d032978992f
authorJeff King <peff@peff.net>
Wed, 16 Apr 2014 16:51:47 +0000 (16 12:51 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Apr 2014 17:21:14 +0000 (16 10:21 -0700)
tree80e533b57e329ac6234d1a14cb9696ce240cb705
parent7bbc4e8fdb33e0a8e42e77cc05460d4c4f615f4d
config.c: mark die_bad_number as NORETURN

This can help avoid -Wuninitialized false positives in
git_config_int and git_config_ulong, as the compiler now
knows that we do not return "ret" if we hit the error
codepath.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c