summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/arm_disassembler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/arm_disassembler.c b/src/target/arm_disassembler.c
index e76e3859..407d2904 100644
--- a/src/target/arm_disassembler.c
+++ b/src/target/arm_disassembler.c
@@ -135,7 +135,7 @@ static int evaluate_srs(uint32_t opcode,
uint32_t address, struct arm_instruction *instruction)
{
const char *wback = (opcode & (1 << 21)) ? "!" : "";
- const char *mode;
+ const char *mode = "";
switch ((opcode >> 23) & 0x3) {
case 0:
@@ -143,7 +143,6 @@ static int evaluate_srs(uint32_t opcode,
break;
case 1:
/* "IA" is default */
- mode = "";
break;
case 2:
mode = "DB";