aboutsummaryrefslogtreecommitdiff
path: root/bfd/peXXigen.c
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-04-23 13:36:43 +0000
committerDave Korn <dave.korn@artimi.com>2009-04-23 13:36:43 +0000
commitba7758981e5cb85400cbab10956f1fb128d7e28b (patch)
tree80b15de0ba580f40e3d9223a50158cf7a8ca3c77 /bfd/peXXigen.c
parentee8921dd8e5da7a8c35713807853cb7da596967b (diff)
downloadgdb-ba7758981e5cb85400cbab10956f1fb128d7e28b.zip
gdb-ba7758981e5cb85400cbab10956f1fb128d7e28b.tar.gz
gdb-ba7758981e5cb85400cbab10956f1fb128d7e28b.tar.bz2
2009-04-23 Matthias Klose <doko@ubuntu.com>
* bfd/peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r--bfd/peXXigen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index fb8ced0..76224cb 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -130,7 +130,7 @@ _bfd_XXi_swap_sym_in (bfd * abfd, void * ext1, void * in1)
if (in->n_sclass == C_SECTION)
{
char namebuf[SYMNMLEN + 1];
- const char *name;
+ const char *name = NULL;
in->n_value = 0x0;