PR binutils/3039
authorNick Clifton <nickc@redhat.com>
Tue, 15 Aug 2006 12:01:43 +0000 (12:01 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 15 Aug 2006 12:01:43 +0000 (12:01 +0000)
* wrstabs.c (stab_tag_type): Initialize 'size'.

binutils/ChangeLog
binutils/wrstabs.c

index bed66620f2b4115d302a58ce39009026a36672ac..1d6be27841ad3bffbdf3d5d32ccd9cb9be0877ef 100644 (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
index b75d6df58450c51a63bdcf75b99e4d53b3d666b9..13f01dac725c18d674bb8dda3288b61d56a867a5 100644 (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)