mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
fix warning compile error about unused variable
This commit is contained in:
parent
ea8f54b543
commit
72371ff249
2 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue