aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/srconv.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index e186ac7..f08eb9e 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-24 Nick Clifton <nickc@redhat.com>
+
+ * srconv.c (walk_tree_type_1): Initialise dpt.dunno.
+
2007-04-24 Nathan Froyd <froydnj@codesourcery.com>
Phil Edwards <phil@codesourcery.com>
diff --git a/binutils/srconv.c b/binutils/srconv.c
index ef1b8c7..8403339 100644
--- a/binutils/srconv.c
+++ b/binutils/srconv.c
@@ -704,6 +704,7 @@ walk_tree_type_1 (struct coff_sfile *sfile, struct coff_symbol *symbol,
{
struct IT_dpt dpt;
+ dpt.dunno = 0;
walk_tree_type_1 (sfile, symbol, type->u.pointer.points_to, nest + 1);
dpt.neg = 0x1001;
sysroff_swap_dpt_out (file, &dpt);