summaryrefslogtreecommitdiff
path: root/bfd/coff-rs6000.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-02-11 02:17:39 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-02-11 02:17:39 +0000
commit77967df3e3f4f0c65471afdb74aea0007472d00d (patch)
tree9037491d170fd666757e72e2976d43b68c4bc73a /bfd/coff-rs6000.c
parent8a39d7c718987ff1ad3738ddc6e9a61178952a3d (diff)
downloadgdb-77967df3e3f4f0c65471afdb74aea0007472d00d.tar.gz
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized variable warnings. * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned comparison warning. * trad-core.c (trad_unix_core_file_p): Silence pointer/integer cast warnings for the common case.
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r--bfd/coff-rs6000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 2d6d6e95056..27729291f90 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -3062,7 +3062,7 @@ xcoff_generate_rtinit (abfd, init, fini)
bfd_byte reloc_ext[RELSZ * 2];
bfd_byte *data_buffer;
bfd_size_type data_buffer_size;
- bfd_byte *string_table, *st_tmp;
+ bfd_byte *string_table = NULL, *st_tmp = NULL;
bfd_size_type string_table_size;
bfd_vma val;
size_t initsz, finisz;