Translated to C (parameters in a function definition have the same scope

as variables declared in the main block in the function, so shadowing
of parameters by variables declared in the main block is not just an
obfuscation).

Found by:	lint
This commit is contained in:
Bruce Evans 1998-05-08 07:56:48 +00:00
parent 55554ef2c3
commit 53a867d577
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35841

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: pcisupport.c,v 1.65 1998/05/04 01:39:48 kato Exp $
** $Id: pcisupport.c,v 1.66 1998/05/04 08:16:03 kato Exp $
**
** Device driver for DEC/INTEL PCI chipsets.
**
@ -851,7 +851,7 @@ static struct pci_device vga_device = {
DATA_SET (pcidevice_set, vga_device);
static char* vga_probe (pcici_t tag, pcidi_t type)
static char* vga_probe (pcici_t tag, pcidi_t unused)
{
int data = pci_conf_read(tag, PCI_CLASS_REG);
u_int id = pci_conf_read(tag, PCI_ID_REG);