mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 05:40:26 +08:00
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
This commit is contained in:
parent
f27026943b
commit
4b64175082
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user