mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-09 23:11:41 +00:00
Do not set anal.bits twice
This commit is contained in:
parent
c4428f088d
commit
5878c116d4
@ -240,10 +240,11 @@ R_API bool r_anal_set_bits(RAnal *anal, int bits) {
|
||||
case 16:
|
||||
case 32:
|
||||
case 64:
|
||||
// if (anal->bits != bits)
|
||||
anal->bits = bits;
|
||||
r_anal_set_fcnsign (anal, NULL);
|
||||
r_anal_set_reg_profile (anal);
|
||||
if (anal->bits != bits) {
|
||||
anal->bits = bits;
|
||||
r_anal_set_fcnsign (anal, NULL);
|
||||
r_anal_set_reg_profile (anal);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user