aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-03-18 16:28:13 +0000
committerPaul Brook <paul@codesourcery.com>2005-03-18 16:28:13 +0000
commit58450b3bbcd644afa74f2fc31c9770e528c14723 (patch)
tree24902a8f9954ca7ad91e640ea2a8c34c9015d802 /binutils/objdump.c
parentebdb03830437296364a12dec008eea52499f3bab (diff)
downloadgdb-58450b3bbcd644afa74f2fc31c9770e528c14723.zip
gdb-58450b3bbcd644afa74f2fc31c9770e528c14723.tar.gz
gdb-58450b3bbcd644afa74f2fc31c9770e528c14723.tar.bz2
2005-03-18 Paul Brook <paul@codesourcery.com>
* objdump.c (objdump_print_addr): Avoid uninitialized warning.
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 a336089..51f9b4c 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