Skip to content

Commit

Permalink
Replace RZ_LOG_WARN with rz_warn_if_reached
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 authored Jul 1, 2024
1 parent c29400f commit e59ef39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/arch/isa/msp430/msp430_disas.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ static int decode_addressing_mode(ut16 instr, ut16 op1, ut16 op2, Msp430Cmd *cmd
cmd->dst = (op << 8) | dst;
}
break;
default: RZ_LOG_WARN("UNREACHABLE");
default: rz_warn_if_reached();
}

strncat(cmd->operands, dstbuf, sizeof(cmd->operands) - 1 - strlen(cmd->operands));
Expand Down

0 comments on commit e59ef39

Please sign in to comment.