diff options
author | Nick Clifton <nickc@redhat.com> | 2007-04-24 13:21:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-04-24 13:21:32 +0000 |
commit | b6d75e719be75b829d31562eaf9c1a811ee57a8a (patch) | |
tree | d8c2cc5a1f7663976c7744e9fc363bdae3d8c0d5 /opcodes | |
parent | 8dd6a9b6b3a10ce492bbcc22c617634c6d3f0824 (diff) | |
download | gdb-b6d75e719be75b829d31562eaf9c1a811ee57a8a.tar.gz |
Fix compile time warning (at -O3 with gcc 4.1.2)
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 91a280eed06..e935f460fb6 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2007-04-24 Nick Clifton <nickc@redhat.com> + + * arm-dis.c (print_insn): Initialise type. + 2007-04-24 Alan Modra <amodra@bigpond.net.au> * cgen-types.h: Include bfd_stdint.h, not stdint.h. diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 0c0e9641b17..cf67b5fdd73 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -3987,7 +3987,7 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little) bfd_vma addr; int n; int last_sym = -1; - enum map_type type; + enum map_type type = MAP_ARM; if (pc <= last_mapping_addr) last_mapping_sym = -1; |