OSDN Git Service

* typeck.c (string_conv_p): Remove spurious quotation mark in
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jul 2006 12:55:01 +0000 (12:55 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Jul 2006 12:55:01 +0000 (12:55 +0000)
warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115368 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/typeck.c

index cc3c437..dca9874 100644 (file)
@@ -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>
 
index f993bf7..6661474 100644 (file)
@@ -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;
 }