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:
parent
419146d944
commit
c85c46678d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71272
@ -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));
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user