Browse Source

Warning fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@2658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.3.0-rc0
duane 14 years ago
parent
commit
a41725c788
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/target/arm_disassembler.c

+ 3
- 0
src/target/arm_disassembler.c View File

@@ -445,6 +445,9 @@ static int evaluate_extend(uint32_t opcode, uint32_t address, char *cp)
unsigned rn = (opcode >> 16) & 0xf;
char *type, *rot;

/* GCC 'uninitialized warning removal' */
type = rot = NULL;
switch ((opcode >> 24) & 0x3) {
case 0:
type = "B16";


Loading…
Cancel
Save