Re: [PATCH] config.c: fix a compiler warning
On 2014-04-16 17.29, Jeff King wrote:
Show 5 quoted lines
> 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.
Show 8 quoted lines
> +NORETURN
> static void die_bad_number(const char *name, const char *value)
> {
> const char *reason = errno == ERANGE ?
>
> Does that also silence the warning?
>
> -PeffThis works under gcc 4.2.1 Mac OS: the warning is away.