forked from len0rd/rockbox
Fix sanity check in UnwStartThumb() using the wrong register
cppcheck reported: [lib/unwarminder/unwarm_thumb.c:399] -> [lib/unwarminder/unwarm_thumb.c:399]: (style) Same expression on both sides of '&&'. Patch will also be sent to the upstream project. Change-Id: I57033f290135f4dc09ac7e9b07c31461bc5b471a Reviewed-on: http://gerrit.rockbox.org/157 Reviewed-by: Thomas Jarosch <tomj@simonv.com>
This commit is contained in:
parent
5bfbc64151
commit
9476883d2d
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ UnwResult UnwStartThumb(UnwState * const state)
|
|||
case 12: /* ORR */
|
||||
case 13: /* MUL */
|
||||
case 14: /* BIC */
|
||||
if(M_IsOriginValid(state->regData[rs].o) && M_IsOriginValid(state->regData[rs].o))
|
||||
if(M_IsOriginValid(state->regData[rd].o) && M_IsOriginValid(state->regData[rs].o))
|
||||
{
|
||||
state->regData[rd].o = state->regData[rs].o;
|
||||
state->regData[rd].o |= REG_VAL_ARITHMETIC;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue