fix warning compile error about unused variable

This commit is contained in:
Darren Reed 2000-10-29 10:07:43 +00:00
parent ea8f54b543
commit 72371ff249
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67866
2 changed files with 4 additions and 0 deletions

View File

@ -950,7 +950,9 @@ pci_add_map(device_t pcib, int b, int s, int f, int reg,
u_int8_t ln2size;
u_int8_t ln2range;
u_int32_t testval;
#ifdef PCI_ENABLE_IO_MODES
u_int16_t cmd;
#endif
int type;
map = PCIB_READ_CONFIG(pcib, b, s, f, reg, 4);

View File

@ -950,7 +950,9 @@ pci_add_map(device_t pcib, int b, int s, int f, int reg,
u_int8_t ln2size;
u_int8_t ln2range;
u_int32_t testval;
#ifdef PCI_ENABLE_IO_MODES
u_int16_t cmd;
#endif
int type;
map = PCIB_READ_CONFIG(pcib, b, s, f, reg, 4);