i860: hotfix for coverity issue (nw)

This commit is contained in:
Melissa Goad 2018-08-13 21:50:57 -05:00
parent b1c7579b3f
commit fb0818c7c6

View File

@ -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);