Fix compile time warning (at -O3 with gcc 4.1.2)
This commit is contained in:
parent
40b1c6c5d4
commit
fbb9230130
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue