aboutsummaryrefslogtreecommitdiff
path: root/binutils/wrstabs.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-08-15 12:01:43 +0000
committerNick Clifton <nickc@redhat.com>2006-08-15 12:01:43 +0000
commit20de9fc8774ead2c9fb9954269c949b1ecb1e3f8 (patch)
tree0f73c976eb2d8ae3934de8e7668f7b7d457d2f51 /binutils/wrstabs.c
parent7b406a5c9acabd16709d6b535a38bf9c5785768b (diff)
downloadgdb-20de9fc8774ead2c9fb9954269c949b1ecb1e3f8.zip
gdb-20de9fc8774ead2c9fb9954269c949b1ecb1e3f8.tar.gz
gdb-20de9fc8774ead2c9fb9954269c949b1ecb1e3f8.tar.bz2
PR binutils/3039
* wrstabs.c (stab_tag_type): Initialize 'size'.
Diffstat (limited to 'binutils/wrstabs.c')
-rw-r--r--binutils/wrstabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/wrstabs.c b/binutils/wrstabs.c
index b75d6df..13f01da 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)