summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-04-18 20:17:44 +0200
committerJunio C Hamano <gitster@pobox.com>2014-04-18 20:17:45 +0200
commit531675ad172f984a6dbc2ac840caaf6ba1015eb0 (patch)
treee41b57b30d397304734516d1aef3d3db5d607446 /config.c
parentMerge branch 'fc/remote-helper-fixes' (diff)
parentconfig.c: mark die_bad_number as NORETURN (diff)
downloadgit-531675ad172f984a6dbc2ac840caaf6ba1015eb0.tar.xz
git-531675ad172f984a6dbc2ac840caaf6ba1015eb0.zip
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
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index 6821cef00a..a30cb5c07d 100644
--- a/config.c
+++ b/config.c
@@ -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 ?