Skip to content

Commit

Permalink
i860: hotfix for coverity issue (nw)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melissa Goad committed Aug 14, 2018
1 parent b1c7579 commit fb0818c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/cpu/i860/i860dec.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fb0818c

Please sign in to comment.