From 58450b3bbcd644afa74f2fc31c9770e528c14723 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 18 Mar 2005 16:28:13 +0000 Subject: [PATCH] 2005-03-18 Paul Brook * objdump.c (objdump_print_addr): Avoid uninitialized warning. --- binutils/ChangeLog | 4 ++++ binutils/objdump.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2ceab74703..8520871c0b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2005-03-18 Paul Brook + + * objdump.c (objdump_print_addr): Avoid uninitialized warning. + 2005-03-17 Diego Novillo * MAINTAINERS: Remove self as maintainer of x86 intel diff --git a/binutils/objdump.c b/binutils/objdump.c index a3360899b4..51f9b4c2b0 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -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