diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-11-12 18:00:30 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-11-12 18:11:57 -0500 |
commit | 9f505f715793d99235bd6b4afb2ca7b96ba5729b (patch) | |
tree | 40c5291382a77572a1a238857ed4792aa2101d5b /scripts | |
parent | 83c82769d1246a00e1773764505184cb95d4f663 (diff) | |
download | seabios-9f505f715793d99235bd6b4afb2ca7b96ba5729b.tar.gz |
pciinit: Fix build warning in mch_pci_slot_get_irq()
Some old versions of gcc warn that 'irq might be used uninitialized'.
Replace the switch statement with an if statement to suppress the
warning.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions