From 190fa9730a056f3b48fbb125c6119a6ff877a27e Mon Sep 17 00:00:00 2001 From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon, 28 Jun 1999 03:13:36 +0000 Subject: [PATCH] * decl.c (cp_finish_decl): Fix typo in cp_warning_at call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27798 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ff7df31d9f4c..6a3929767b61 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-06-28 Richard Henderson <rth@cygnus.com> + + * decl.c (cp_finish_decl): Fix typo in cp_warning_at call. + 1999-06-28 Jason Merrill <jason@yorick.cygnus.com> * error.c (dump_type_real): Handle TREE_LIST again. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 9f98840aa9bd..0a838ed75aaf 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8133,7 +8133,7 @@ cp_finish_decl (decl, init, asmspec_tree, need_pop, flags) else if (! DECL_ARTIFICIAL (decl)) { cp_warning_at ("sorry: semantics of inline function static data `%#D' are wrong (you'll wind up with multiple copies)", decl); - cp_warning_at (" you can work around this by removing the initializer"), decl; + cp_warning_at (" you can work around this by removing the initializer", decl); } } } -- GitLab