From f78c7bc6280150d3631c99918540fd294b50f80a Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Wed, 15 Mar 2000 09:45:39 +0000 Subject: [PATCH] decl.c (cp_finish_decl): Remove obsolete comment. * decl.c (cp_finish_decl): Remove obsolete comment. * typeck.c (build_ptrmemfunc1): Kill uninitialized warning. From-SVN: r32557 --- gcc/cp/ChangeLog | 6 ++++++ gcc/cp/decl.c | 7 +------ gcc/cp/typeck.c | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 99a8d4dc2a7..f73c82429c4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2000-03-15 Nathan Sidwell + + * decl.c (cp_finish_decl): Remove obsolete comment. + + * typeck.c (build_ptrmemfunc1): Kill uninitialized warning. + 2000-03-14 Mark Mitchell * cp-tree.h: Tweak documentation. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 7bdcca91f8d..fdb35b2175e 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -7844,12 +7844,7 @@ emit_local_var (decl) the normal rules. FLAGS is LOOKUP_ONLYCONVERTING if the = init syntax was used, else 0 - if the (init) syntax was used. - - For functions that take default parameters, DECL points to its - "maximal" instantiation. `cp_finish_decl' must then also declared its - subsequently lower and lower forms of instantiation, checking for - ambiguity as it goes. This can be sped up later. */ + if the (init) syntax was used. */ void cp_finish_decl (decl, init, asmspec_tree, flags) diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index aed8bb308d3..6e1b6671941 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -6077,7 +6077,7 @@ tree build_ptrmemfunc1 (type, delta, idx, pfn, delta2) tree type, delta, idx, pfn, delta2; { - tree u; + tree u = NULL_TREE; tree delta_field; tree idx_field; tree pfn_or_delta2_field; -- 2.30.2