1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Silence compiler warnings.

This commit is contained in:
Bill Paul 2001-01-20 00:07:49 +00:00
parent 419146d944
commit c85c46678d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71272
2 changed files with 4 additions and 4 deletions

View File

@ -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));

View File

@ -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));