diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-01-20 00:07:49 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-01-20 00:07:49 +0000 |
commit | 0dd50f934b2232082974229101e0df1d32e607a5 (patch) | |
tree | 8d2233882ecdae5f5e0e88c018dbf93a4f22abb0 /sys/pci | |
parent | 43abd651dd5f7bc88adaa95d41ba92c493ef3feb (diff) | |
download | FreeBSD-src-0dd50f934b2232082974229101e0df1d32e607a5.zip FreeBSD-src-0dd50f934b2232082974229101e0df1d32e607a5.tar.gz |
Silence compiler warnings.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index c27a45e..0745fde 100644 --- a/sys/pci/if_dc.c +++ b/sys/pci/if_dc.c @@ -701,7 +701,7 @@ static int dc_miibus_readreg(dev, phy, reg) { struct dc_mii_frame frame; struct dc_softc *sc; - int i, rval, phy_reg; + int i, rval, phy_reg = 0; sc = device_get_softc(dev); bzero((char *)&frame, sizeof(frame)); @@ -816,7 +816,7 @@ static int dc_miibus_writereg(dev, phy, reg, data) { struct dc_softc *sc; struct dc_mii_frame frame; - int i, phy_reg; + int i, phy_reg = 0; sc = device_get_softc(dev); bzero((char *)&frame, sizeof(frame)); |