* objdump.c (objdump_print_addr): Initialise "sym".
authorAlan Modra <amodra@gmail.com>
Sat, 1 Mar 2008 07:19:06 +0000 (07:19 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 1 Mar 2008 07:19:06 +0000 (07:19 +0000)
binutils/ChangeLog
binutils/objdump.c

index 33ed0e6b0ce014aa1a9c18c59faa33689cb01984..32047adaae48f04b7be2feee847f963893a42b0a 100644 (file)
@@ -1,3 +1,7 @@
+2008-03-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * objdump.c (objdump_print_addr): Initialise "sym".
+
 2008-02-27  Justin Pryzby  <justinpryzby@users.sourceforge.net>
            Nick Clifton  <nickc@redhat.com>
 
index c46d2690577659145f18f3252cf458a20cb33b1e..b348025024ded88178ab5cc2a24d1f5a42391686 100644 (file)
@@ -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;