Re: [PATCH 2/3] hw/display/qxl: Remove unneeded variable assignment

2020-02-18 Thread Laurent Vivier
Le 15/02/2020 à 17:15, Philippe Mathieu-Daudé a écrit : > 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; >^~~~

Re: [PATCH 2/3] hw/display/qxl: Remove unneeded variable assignment

2020-02-15 Thread Richard Henderson
On 2/15/20 8:15 AM, Philippe Mathieu-Daudé wrote: > 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; >^~~~ ~~

[PATCH 2/3] hw/display/qxl: Remove unneeded variable assignment

2020-02-15 Thread Philippe Mathieu-Daudé
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