qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile warning in i8259.c


From: Richard Henderson
Subject: Re: compile warning in i8259.c
Date: Mon, 15 Mar 2021 10:27:12 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/15/21 10:20 AM, Thomas Huth wrote:
+    if (irq == 2) {
+        irq2 = pic_get_irq(slave_pic);

This looks better.  You should also be able to pull in the declaration to

  int irq2 = pic_get_irq(slave_pic);

here.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]