aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-03-01 07:19:06 +0000
committerAlan Modra <amodra@gmail.com>2008-03-01 07:19:06 +0000
commitd253b6540f06cba8a3cac5a0f7673f906859ac37 (patch)
treeafe27ff33947ee2093696327565e9e4654452b43 /binutils/objdump.c
parent176a0d42d0d0a1e4957bb5bf3f5186dc6669a6e7 (diff)
downloadgdb-d253b6540f06cba8a3cac5a0f7673f906859ac37.zip
gdb-d253b6540f06cba8a3cac5a0f7673f906859ac37.tar.gz
gdb-d253b6540f06cba8a3cac5a0f7673f906859ac37.tar.bz2
* objdump.c (objdump_print_addr): Initialise "sym".
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c2
1 files changed, 1 insertions, 1 deletions
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;