Source-Changes-D archive

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

Re: CVS commit: src/sys/dev/pci



On Sat, Sep 01, 2012 at 02:08:28AM +0000, Matt Thomas wrote:
> Module Name:  src
> Committed By: matt
> Date:         Sat Sep  1 02:08:28 UTC 2012
> 
> Modified Files:
>       src/sys/dev/pci: if_wm.c
> 
> Log Message:
> Shut up gcc about some uninitialized variables.


Hum, gcc is wrong here, cmdlen and fields are only used if do_csum == true,
and do_csum cannot be changed between setting it to false and testing it.

Is it dependant on compiler flags ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index