summary refs log tree commit diff stats
path: root/hw/intc/lm32_pic.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-09-09 12:27:38 +0100
committerAlex Bennée <alex.bennee@linaro.org>2020-09-10 10:44:01 +0100
commitc768eef18c18087d39eaf0e090629dbbca0f51dc (patch)
treed7ad0d127b63bfb3c6b704807fa5e74662320435 /hw/intc/lm32_pic.c
parent2d838d9bae05b76af574330cf6707527568abe03 (diff)
downloadfocaccia-qemu-c768eef18c18087d39eaf0e090629dbbca0f51dc.tar.gz
focaccia-qemu-c768eef18c18087d39eaf0e090629dbbca0f51dc.zip
hw/i386: make explicit clearing of pch_rev_id
Some compilers (notably the Xenial gcc in Travis) fail to spot that
this will always be set if pch_dev_id != 0xffff. Given this is setup
code and using _Pragma to override is equally as ugly lets just remove
the doubt from the compilers mind.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200909112742.25730-8-alex.bennee@linaro.org>
Diffstat (limited to 'hw/intc/lm32_pic.c')
0 files changed, 0 insertions, 0 deletions