diff options
author | Richard Henderson <rth@cygnus.com> | 1999-06-27 20:13:36 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-06-27 21:13:36 -0600 |
commit | dee6497db038fcea8bedcbe001e2682c464dd355 (patch) | |
tree | 8fc5349a00b3e7851692997b669b4d84b85e441a | |
parent | c8e7fe5816daf76be09c8d969b3235d7e4400ad4 (diff) | |
download | gcc-dee6497db038fcea8bedcbe001e2682c464dd355.zip gcc-dee6497db038fcea8bedcbe001e2682c464dd355.tar.gz gcc-dee6497db038fcea8bedcbe001e2682c464dd355.tar.bz2 |
* decl.c (cp_finish_decl): Fix typo in cp_warning_at call.
From-SVN: r27798
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ff7df31..6a39297 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 9f98840..0a838ed 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); } } } |