aboutsummaryrefslogtreecommitdiff
path: root/linux-user/linux_loop.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-11-15 15:50:49 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-11-19 10:01:33 +0100
commitc9d6da3a5e427cd0ff58a06a38c8faa4fa7b21ba (patch)
treeb26151460861d352a33f7df6186840546ce6b92a /linux-user/linux_loop.h
parent7fac38635e1cc5ebae34eb6530da1009bd5808e4 (diff)
downloadqemu-c9d6da3a5e427cd0ff58a06a38c8faa4fa7b21ba.zip
qemu-c9d6da3a5e427cd0ff58a06a38c8faa4fa7b21ba.tar.gz
qemu-c9d6da3a5e427cd0ff58a06a38c8faa4fa7b21ba.tar.bz2
hw/i386: Fix compiler warning when CONFIG_IDE_ISA is disabled
When CONFIG_IDE_ISA is disabled, compilation currently fails: hw/i386/pc_piix.c: In function ‘pc_init1’: hw/i386/pc_piix.c:81:9: error: unused variable ‘i’ [-Werror=unused-variable] Move the variable declaration to the right code block to avoid this problem. Fixes: 4501d317b50e ("hw/i386/pc: Extract pc_i8259_create()") Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20191115145049.26868-1-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions