Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[pcnet32] Fix uninitialised variable
Reported-by: Geoff Lywood <glywood@vmware.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jun 25, 2010
1 parent 66df967 commit c84a2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/net/pcnet32.c
Expand Up @@ -513,7 +513,7 @@ static void
pcnet32_setup_probe_phy ( struct pcnet32_private *priv )
{
unsigned long ioaddr = priv->pci_dev->ioaddr;
char phycount;
unsigned int phycount = 0;
int phy_id;
int i;

Expand Down

0 comments on commit c84a2c8

Please sign in to comment.