* cp/class.c (type_requires_array_cookie): Fix use of uninitialised
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jul 2001 06:34:51 +0000 (06:34 +0000)
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jul 2001 06:34:51 +0000 (06:34 +0000)
variable has_two_argument_delete_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44256 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/class.c

index ed073c1..98bae08 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-23  Graham Stott  <grahams@redhat.com>
+
+       * cp/class.c (type_requires_array_cookie): Fix use of uninitialised
+       variable has_two_argument_delete_p.
+
 2001-07-21  Nathan Sidwell  <nathan@codesourcery.com>
 
        Remove flag_vtable_thunk. It is always on for the 3.0 ABI.
index 1667758..be04e89 100644 (file)
@@ -4304,7 +4304,7 @@ type_requires_array_cookie (type)
      tree type;
 {
   tree fns;
-  bool has_two_argument_delete_p;
+  bool has_two_argument_delete_p = false;
 
   my_friendly_assert (CLASS_TYPE_P (type), 20010712);