mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
x86: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
9678d9501b
commit
7f5b7d3e2c
7 changed files with 17 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue