mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Fix recently introduced uninitialized variable in RRegProfile parser
This commit is contained in:
parent
baa82e13b8
commit
54116e8ad9
@ -240,7 +240,7 @@ R_API bool r_reg_set_profile_string(RReg *reg, const char *str) {
|
||||
if (r_str_startswith (first, "=RS")) {
|
||||
reg->bits_default = atoi (tok[1]);
|
||||
} else {
|
||||
const char *r;
|
||||
const char *r = NULL;
|
||||
if (*first == '^') {
|
||||
int endian = R_SYS_ENDIAN;
|
||||
switch (first[1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user