mirror of
https://github.com/git/git.git
synced 2026-02-05 07:23:13 +00:00
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>
This commit is contained in:
committed by
Johannes Schindelin
parent
9860bbb4ed
commit
12949d047d
Reference in New Issue
Block a user