diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ff7df31d9f4c2d4aa56e02cc68a4511aa8e3313e..6a3929767b615a15efa67c6caf627c2c74f215d9 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 9f98840aa9bd4fe8ab72f90514efb89ca673b45c..0a838ed75aaf81a801415dfe2d696295920de814 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); } } }