]> Git Repo - qemu.git/commit
sm501: Fix warning about unreachable code
authorBALATON Zoltan <[email protected]>
Sun, 15 Jul 2018 20:59:21 +0000 (22:59 +0200)
committerDavid Gibson <[email protected]>
Mon, 16 Jul 2018 01:19:10 +0000 (11:19 +1000)
commit6730df0514d3aec35e646ff9833fbe8b05fd0776
treebc4e9512feb90437e733ed21968597cd7e48bff6
parent3cc702d6aad603fdbe0c83db0bf803e450a6d0b8
sm501: Fix warning about unreachable code

Coverity warned that the false arm of conditional expression is
unreachable when it is inside an if with the same condition.
Remove the unreachable code to avoid the warning.

Fixes: CID 1394215
Reported-by: Paolo Bonzini <[email protected]>
Signed-off-by: BALATON Zoltan <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/display/sm501.c
This page took 0.026027 seconds and 4 git commands to generate.