From d253b6540f06cba8a3cac5a0f7673f906859ac37 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 1 Mar 2008 07:19:06 +0000 Subject: * objdump.c (objdump_print_addr): Initialise "sym". --- binutils/ChangeLog | 4 ++++ binutils/objdump.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 33ed0e6..32047ad 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 c46d269..b348025 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; -- cgit v1.1