Skip to content
Snippets Groups Projects
Commit 06bdc23b authored by Jeff King's avatar Jeff King Committed by Junio C Hamano
Browse files

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: default avatarJeff King <peff@peff.net>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 7bbc4e8f
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment