2005-03-18 Paul Brook <paul@codesourcery.com>

* objdump.c (objdump_print_addr): Avoid uninitialized warning.
This commit is contained in:
Paul Brook 2005-03-18 16:28:13 +00:00
parent ebdb038304
commit 58450b3bbc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-03-18 Paul Brook <paul@codesourcery.com>
* objdump.c (objdump_print_addr): Avoid uninitialized warning.
2005-03-17 Diego Novillo <dnovillo@redhat.com>
* MAINTAINERS: Remove self as maintainer of x86 intel

View File

@ -854,7 +854,7 @@ objdump_print_addr (bfd_vma vma,
bfd_boolean skip_zeroes)
{
struct objdump_disasm_info *aux;
asymbol *sym;
asymbol *sym = NULL; /* Initialize to avoid compiler warning. */
#ifdef DISASSEMBLER_NEEDS_RELOCS
bfd_boolean skip_find = FALSE;
#endif