diff options
author | BALATON Zoltan | 2018-07-15 22:59:21 +0200 |
---|---|---|
committer | David Gibson | 2018-07-16 03:19:10 +0200 |
commit | 6730df0514d3aec35e646ff9833fbe8b05fd0776 (patch) | |
tree | bc4e9512feb90437e733ed21968597cd7e48bff6 /scripts/qapi/types.py | |
parent | sam460ex: Correct use after free error (diff) | |
download | qemu-6730df0514d3aec35e646ff9833fbe8b05fd0776.tar.gz qemu-6730df0514d3aec35e646ff9833fbe8b05fd0776.tar.xz qemu-6730df0514d3aec35e646ff9833fbe8b05fd0776.zip |
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 <pbonzini@redhat.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions