hw/display/qxl: Remove unneeded variable assignment
commit380e6d811952d39ec51adda9756a07528eac96bb
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sat, 15 Feb 2020 16:15:56 +0000 (15 17:15 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 18 Feb 2020 19:20:49 +0000 (18 20:20 +0100)
tree68a2415476832e7b84c9731cd5fecd48839745e4
parent1e1f6ab0eb8703589590f340c0c429298cf17905
hw/display/qxl: Remove unneeded variable assignment

Fix warning reported by Clang static code analyzer:

  hw/display/qxl.c:1634:14: warning: Value stored to 'orig_io_port' during its initialization is never read
      uint32_t orig_io_port = io_port;
               ^~~~~~~~~~~~   ~~~~~~~

Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200215161557.4077-3-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/display/qxl.c