From: Torsten Bögershausen Date: Wed, 16 Apr 2014 16:38:19 GMT Subject: Re: [PATCH] config.c: fix a compiler warning Message-ID: <534EB1FB.5040405@web.de> In-Reply-To: <20140416152920.GA4691@sigill.intra.peff.net> On 2014-04-16 17.29, Jeff King wrote: > On Wed, Apr 16, 2014 at 04:13:53PM +0200, Stepan Kasal wrote: > >> Date: Thu, 10 Apr 2014 16:37:15 +0200 >> >> This change fixes a gcc warning when building msysGit. [] > +NORETURN > static void die_bad_number(const char *name, const char *value) > { > const char *reason = errno == ERANGE ? > > Does that also silence the warning? > > -Peff This works under gcc 4.2.1 Mac OS: the warning is away.