Fix recently introduced uninitialized variable in RRegProfile parser

This commit is contained in:
pancake 2024-04-15 01:30:05 +02:00
parent baa82e13b8
commit 54116e8ad9

View File

@ -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]) {