From fb0818c7c600f8759eeea40e8d3455aedc246aaf Mon Sep 17 00:00:00 2001 From: Melissa Goad Date: Mon, 13 Aug 2018 21:50:57 -0500 Subject: i860: hotfix for coverity issue (nw) --- src/devices/cpu/i860/i860dec.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3