aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-11-02 16:19:54 +0000
committerNick Clifton <nickc@redhat.com>2001-11-02 16:19:54 +0000
commit21da9f89f2648f919c97277358cd4078b81047ae (patch)
tree556171b32c2b54cfa019dc8934b1dd56328556fe /bfd/som.c
parent95f7d9f7b7f3def3c1f96cfc6077668d3d8bb5b4 (diff)
downloadgdb-21da9f89f2648f919c97277358cd4078b81047ae.zip
gdb-21da9f89f2648f919c97277358cd4078b81047ae.tar.gz
gdb-21da9f89f2648f919c97277358cd4078b81047ae.tar.bz2
Initialize subspace_sections.
Diffstat (limited to 'bfd/som.c')
-rw-r--r--bfd/som.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/som.c b/bfd/som.c
index 39a4d5d..cf4af77 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -1851,7 +1851,8 @@ setup_sections (abfd, file_hdr, current_offset)
char *space_strings;
unsigned int space_index, i;
unsigned int total_subspaces = 0;
- asection **subspace_sections, *section;
+ asection **subspace_sections = NULL;
+ asection *section;
bfd_size_type amt;
/* First, read in space names. */