From 4b641750827a22aa0335f52c8319808acf3f6217 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Wed, 12 Jul 2006 12:55:01 +0000 Subject: [PATCH] typeck.c (string_conv_p): Remove spurious quotation mark in warning. * typeck.c (string_conv_p): Remove spurious quotation mark in warning. From-SVN: r115368 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/typeck.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cc3c437..dca9874 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-07-12 Martin Michlmayr + + * typeck.c (string_conv_p): Remove spurious quotation mark in + warning. + 2006-07-07 Lee Millward Andrew Pinski diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index f993bf7..6661474 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -1627,7 +1627,9 @@ string_conv_p (tree totype, tree exp, int warn) /* This warning is not very useful, as it complains about printf. */ if (warn) - warning (OPT_Wwrite_strings, "deprecated conversion from string constant to %qT'", totype); + warning (OPT_Wwrite_strings, + "deprecated conversion from string constant to %qT", + totype); return 1; } -- 2.7.4