From: Richard Henderson Date: Mon, 28 Jun 1999 03:12:22 +0000 (-0700) Subject: * decl.c (cp_finish_decl): Fix typo in cp_warning_at call. X-Git-Tag: prereleases/gcc-2.95-test~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1173058cbb5f184a5cc5c80152c8d54691f830d1;p=thirdparty%2Fgcc.git * decl.c (cp_finish_decl): Fix typo in cp_warning_at call. From-SVN: r27797 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1d5619f7dddd..7c0d65044bad 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-06-26 Richard Henderson + + * decl.c (cp_finish_decl): Fix typo in cp_warning_at call. + 1999-06-21 Mark Mitchell * init.c (expand_aggr_vbase_init): Rename to diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 87c65fdb4c60..8afa043173ce 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8130,7 +8130,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); } } }