From: Alan Modra Date: Sat, 1 Mar 2008 07:19:06 +0000 (+0000) Subject: * objdump.c (objdump_print_addr): Initialise "sym". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d253b6540f06cba8a3cac5a0f7673f906859ac37;p=binutils-gdb.git * objdump.c (objdump_print_addr): Initialise "sym". --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 33ed0e6b0ce..32047adaae4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2008-03-01 Alan Modra + + * objdump.c (objdump_print_addr): Initialise "sym". + 2008-02-27 Justin Pryzby Nick Clifton diff --git a/binutils/objdump.c b/binutils/objdump.c index c46d2690577..b348025024d 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -877,7 +877,7 @@ objdump_print_addr (bfd_vma vma, bfd_boolean skip_zeroes) { struct objdump_disasm_info *aux; - asymbol *sym; + asymbol *sym = NULL; bfd_boolean skip_find = FALSE; aux = (struct objdump_disasm_info *) info->application_data;