pkgsrc-Users archive

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

Re: gcc 4.8 warnings and xentools42



On Tue, Mar 25, 2014 at 05:00:51PM +0000, Patrick Welche wrote:
> drivers/net/epic100.c:234:9: error: variable 'full_duplex' set but not used
> +[-Werror=unused-but-set-variable]
>      int full_duplex = 0;
>          ^
...
> So gcc 4.8.3 proved that mii_reg5 != 0xffff && (mii_reg5 & 0x0100) is
> always false?


That is the condition when it is set - but where is it used?

Martin


Home | Main Index | Thread Index | Old Index