From 20de9fc8774ead2c9fb9954269c949b1ecb1e3f8 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Aug 2006 12:01:43 +0000 Subject: [PATCH] PR binutils/3039 * wrstabs.c (stab_tag_type): Initialize 'size'. --- binutils/ChangeLog | 5 +++++ binutils/wrstabs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index bed66620f2b..1d6be27841a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2006-08-15 Nick Clifton + + PR binutils/3039 + * wrstabs.c (stab_tag_type): Initialize 'size'. + 2006-08-10 J"orn Rennecke PR binutils/3017 diff --git a/binutils/wrstabs.c b/binutils/wrstabs.c index b75d6df5845..13f01dac725 100644 --- a/binutils/wrstabs.c +++ b/binutils/wrstabs.c @@ -1869,7 +1869,7 @@ stab_tag_type (void *p, const char *name, unsigned int id, { struct stab_write_handle *info = (struct stab_write_handle *) p; long index; - unsigned int size; + unsigned int size = 0; index = stab_get_struct_index (info, name, id, kind, &size); if (index < 0) -- 2.30.2