Re: [PATCH-for-5.0 04/11] hw/input/adb-kbd: Remove dead assignment

2020-03-21 Thread BALATON Zoltan
On Sat, 21 Mar 2020, Philippe Mathieu-Daudé wrote: Fix warning reported by Clang static code analyzer: CC hw/input/adb-kbd.o hw/input/adb-kbd.c:200:5: warning: Value stored to 'olen' is never read olen = 0; ^ ~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe M

[PATCH-for-5.0 04/11] hw/input/adb-kbd: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
Fix warning reported by Clang static code analyzer: CC hw/input/adb-kbd.o hw/input/adb-kbd.c:200:5: warning: Value stored to 'olen' is never read olen = 0; ^ ~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé --- hw/input/adb-kbd.c | 1 - 1 fi