summary refs log tree commit diff stats
path: root/hw/gpio/aspeed_gpio.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-04-22 15:31:48 +0200
committerLaurent Vivier <laurent@vivier.eu>2020-05-04 14:43:24 +0200
commit22c9336d3a82d1469796b7421cb5bd5f9bfd9748 (patch)
tree9b63dc7dfe60bca9a57de21f29f04e09d9406d2f /hw/gpio/aspeed_gpio.c
parent1cf5ae5129a8e78b9eb2d6545bcc56a8b136eb79 (diff)
downloadfocaccia-qemu-22c9336d3a82d1469796b7421cb5bd5f9bfd9748.tar.gz
focaccia-qemu-22c9336d3a82d1469796b7421cb5bd5f9bfd9748.zip
hw/ide/sii3112: Remove dead assignment
Fix warning reported by Clang static code analyzer:

    CC      hw/ide/sii3112.o
  hw/ide/sii3112.c:204:9: warning: Value stored to 'val' is never read
          val = 0;
          ^     ~

Fixes: a9dd6604
Reported-by: Clang Static Analyzer
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200422133152.16770-6-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/gpio/aspeed_gpio.c')
0 files changed, 0 insertions, 0 deletions