summaryrefslogtreecommitdiffstats
path: root/qemu-edid.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-04-22 15:31:47 +0200
committerLaurent Vivier2020-05-04 14:43:24 +0200
commit1cf5ae5129a8e78b9eb2d6545bcc56a8b136eb79 (patch)
tree13c79a0cb6524d4328c8adf3b6209618173af087 /qemu-edid.c
parenthw/i2c/pm_smbus: Remove dead assignment (diff)
downloadqemu-1cf5ae5129a8e78b9eb2d6545bcc56a8b136eb79.tar.gz
qemu-1cf5ae5129a8e78b9eb2d6545bcc56a8b136eb79.tar.xz
qemu-1cf5ae5129a8e78b9eb2d6545bcc56a8b136eb79.zip
hw/input/adb-kbd: Remove dead assignment
Since commit 5a1f49718 the 'olen' variable is not really used. Remove it to fix a 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; ^ ~ Fixes: 5a1f49718 (adb: add support for QKeyCode) Reported-by: Clang Static Analyzer Suggested-by: BALATON Zoltan <balaton@eik.bme.hu> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200422133152.16770-5-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'qemu-edid.c')
0 files changed, 0 insertions, 0 deletions