From: Graham Stott Date: Mon, 23 Jul 2001 06:34:51 +0000 (+0000) Subject: class.c (type_requires_array_cookie): Fix use of uninitialised variable has_two_argum... X-Git-Tag: prereleases/libstdc++-3.0.95~3120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18fee3ee7300568c6f19932d39e1ee9b6908860a;p=thirdparty%2Fgcc.git class.c (type_requires_array_cookie): Fix use of uninitialised variable has_two_argument_delete_p. * cp/class.c (type_requires_array_cookie): Fix use of uninitialised variable has_two_argument_delete_p. From-SVN: r44256 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ed073c1ae37b..98bae08fd3b7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2001-07-23 Graham Stott + + * cp/class.c (type_requires_array_cookie): Fix use of uninitialised + variable has_two_argument_delete_p. + 2001-07-21 Nathan Sidwell Remove flag_vtable_thunk. It is always on for the 3.0 ABI. diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 16677583883d..be04e89e7d3a 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -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);