PR binutils/3039

* wrstabs.c (stab_tag_type): Initialize 'size'.
This commit is contained in:
Nick Clifton 2006-08-15 12:01:43 +00:00
parent 7b406a5c9a
commit 20de9fc877
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-08-15 Nick Clifton <nickc@redhat.com>
PR binutils/3039
* wrstabs.c (stab_tag_type): Initialize 'size'.
2006-08-10 J"orn Rennecke <joern.rennecke@st.com>
PR binutils/3017

View File

@ -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)