|
From: | Richard Henderson |
Subject: | Re: [PATCH for 6.0 v2] hw/intc/i8259: Refactor pic_read_irq() to avoid uninitialized variable |
Date: | Thu, 18 Mar 2021 16:50:52 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
On 3/18/21 10:09 AM, Philippe Mathieu-Daudé wrote:
+ int irq2; + if (irq == 2) { irq2 = pic_get_irq(slave_pic);
Move the declaration in here: int irq2 = ... r~
[Prev in Thread] | Current Thread | [Next in Thread] |