bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] maint: expr: avoid compiler warnings without GMP


From: Pádraig Brady
Subject: Re: [PATCH] maint: expr: avoid compiler warnings without GMP
Date: Wed, 23 Sep 2009 14:06:17 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Eric Blake wrote:
> According to Pádraig Brady on 9/23/2009 5:58 AM:
>> Another ununused parameter warning patch attached
> 
>> +static void mpz_init_set_ui (mpz_t z, unsigned long i) { z[0] = i; (void) 
>> i; }
> 
> Doesn't the assignment count as a use of i, so that the "(void) i;" is
> redundant?

Oops yes.
I'll remove that one.

thanks for the review.
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]