diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 18:58:25 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 18:58:25 +0000 |
commit | 7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450 (patch) | |
tree | efca3acd6143b74c92f92934f28e80019c14b776 /hw/i8259.c | |
parent | 9678d9501bc5f2e6e06170013dec8667057c3b62 (diff) |
x86: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/i8259.c')
-rw-r--r-- | hw/i8259.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i8259.c b/hw/i8259.c index 37ef04e519..ea48e0e045 100644 --- a/hw/i8259.c +++ b/hw/i8259.c @@ -234,7 +234,9 @@ int pic_read_irq(PicState2 *s) irq2 = 7; } intno = s->pics[1].irq_base + irq2; +#if defined(DEBUG_PIC) || defined(DEBUG_IRQ_LATENCY) irq = irq2 + 8; +#endif } else { intno = s->pics[0].irq_base + irq; } |