summaryrefslogtreecommitdiffstats
path: root/hw/openrisc/openrisc_sim.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-07-27 04:42:15 +0200
committerMichael Tokarev2017-07-31 12:06:39 +0200
commit4b5660e403c9cae998dc70b51288968655977896 (patch)
treec2a6dd30e92376c8a1c35cc1f5bb403624ef9397 /hw/openrisc/openrisc_sim.c
parentnet/eth: fix incorrect check of iov_to_buf() return value (diff)
downloadqemu-4b5660e403c9cae998dc70b51288968655977896.tar.gz
qemu-4b5660e403c9cae998dc70b51288968655977896.tar.xz
qemu-4b5660e403c9cae998dc70b51288968655977896.zip
m68k/translate: fix incorrect copy/paste
db3d7945ae extended gen_cc_cond() for cond [6, 7, 9, 10] but misswrote [4, 5] target/m68k/translate.c:1323:70: warning: identical expressions on both sides of logical operator if (op == CC_OP_ADDB || op == CC_OP_ADDW || op == CC_OP_ADDL || op == CC_OP_ADDB || op == CC_OP_ADDW || op == CC_OP_ADDL) { ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ^ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/openrisc/openrisc_sim.c')
0 files changed, 0 insertions, 0 deletions