Initialize "name" to quiet compiler.

This commit is contained in:
David Greenman 1995-07-29 18:21:48 +00:00
parent 51104fd2da
commit fa8d3a82f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9769
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: pci.c,v 1.26 1995/07/27 21:38:45 se Exp $
** $Id: pci.c,v 1.27 1995/07/27 21:56:51 se Exp $
**
** General subroutines for the PCI bus.
** pci_configure ()
@ -372,7 +372,7 @@ pci_bus_config (void)
};
#endif
for (device=0; device<pci_maxdevice; device ++) {
char* name;
char* name = "";
struct pci_device **dvpp;
if ((pcicb->pcicb_seen >> device) & 1)

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: pci.c,v 1.26 1995/07/27 21:38:45 se Exp $
** $Id: pci.c,v 1.27 1995/07/27 21:56:51 se Exp $
**
** General subroutines for the PCI bus.
** pci_configure ()
@ -372,7 +372,7 @@ pci_bus_config (void)
};
#endif
for (device=0; device<pci_maxdevice; device ++) {
char* name;
char* name = "";
struct pci_device **dvpp;
if ((pcicb->pcicb_seen >> device) & 1)