diff options
author | Melissa Goad <alegend45@gmail.com> | 2018-08-13 21:50:57 -0500 |
---|---|---|
committer | Melissa Goad <alegend45@gmail.com> | 2018-08-13 21:50:57 -0500 |
commit | fb0818c7c600f8759eeea40e8d3455aedc246aaf (patch) | |
tree | 0e57c5f76496379c19ae59bd95ab227e29dcf75d | |
parent | b1c7579b3fde172fbaf8a6503c1a719ee92f743c (diff) |
i860: hotfix for coverity issue (nw)
-rw-r--r-- | src/devices/cpu/i860/i860dec.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/i860/i860dec.hxx b/src/devices/cpu/i860/i860dec.hxx index dedf86028cc..923a30b0935 100644 --- a/src/devices/cpu/i860/i860dec.hxx +++ b/src/devices/cpu/i860/i860dec.hxx @@ -3166,7 +3166,7 @@ void i860_cpu_device::insn_dualop (uint32_t insn) /* Do the add operation, being careful about source and result precision. Remember, the R bit indicates source and result precision here. */ - if (res_prec) + if (src_prec) { double v1 = get_fval_from_optype_d (insn, A_unit_op1); double v2 = get_fval_from_optype_d (insn, A_unit_op2); |