aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-03-01 20:39:07 +0000
committerNick Clifton <nickc@redhat.com>2000-03-01 20:39:07 +0000
commit86033394008aa009b3382199efa24b0cfa749862 (patch)
treed69205614c88f833cf46f7f09efe75b8e65ada6f /bfd/coffcode.h
parent30e28a0e4beb1fae729bf1fd8dcce9074e154b3c (diff)
downloadgdb-86033394008aa009b3382199efa24b0cfa749862.zip
gdb-86033394008aa009b3382199efa24b0cfa749862.tar.gz
gdb-86033394008aa009b3382199efa24b0cfa749862.tar.bz2
Fix building with --enable-targets=all
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 25a90bb..8193a21 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -760,7 +760,7 @@ styp_to_sec_flags (abfd, hdr, name, section)
{
bfd_byte *esymstart, *esym, *esymend;
int seen_state = 0;
- char *target_name;
+ char *target_name = NULL;
esymstart = esym = (bfd_byte *) obj_coff_external_syms (abfd);
esymend = esym + obj_raw_syment_count (abfd) * bfd_coff_symesz (abfd);