diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2006-07-12 12:55:01 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-07-12 12:55:01 +0000 |
commit | 4b641750827a22aa0335f52c8319808acf3f6217 (patch) | |
tree | 4d758dd64091c0b3b7ccfa22dde56e354cef94bb /gcc | |
parent | f27026943b5d3c48acce296be2fb7f62587d98c7 (diff) | |
download | gcc-4b641750827a22aa0335f52c8319808acf3f6217.zip gcc-4b641750827a22aa0335f52c8319808acf3f6217.tar.gz gcc-4b641750827a22aa0335f52c8319808acf3f6217.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/typeck.c | 4 |
2 files changed, 8 insertions, 1 deletions
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 <tbm@cyrius.com> + + * typeck.c (string_conv_p): Remove spurious quotation mark in + warning. + 2006-07-07 Lee Millward <lee.millward@gmail.com> Andrew Pinski <pinskia@gmail.com> 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; } |