Patchwork [C++,committed,as,trivial] PR 46901

login
register
mail settings
Submitter Paolo Carlini
Date Dec. 12, 2010, 11:22 a.m.
Message ID <4D04B071.3020807@oracle.com>
Download mbox | patch
Permalink /patch/75227/
State New
Headers show

Comments

Paolo Carlini - Dec. 12, 2010, 11:22 a.m.
Hi,

tested x86_64-linux, committed to mainline.

Paolo.

////////////////////////
2010-12-12  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/46901
	* typeck.c (convert_for_assignment): Fix typo in warning message.

Patch

Index: typeck.c
===================================================================
--- typeck.c	(revision 167721)
+++ typeck.c	(working copy)
@@ -7321,7 +7321,7 @@  convert_for_assignment (tree type, tree rhs,
 	      break;
 	    case ICR_CONVERTING:
 	      warning (OPT_Wmissing_format_attribute,
-		       "target of conversion might be might be a candidate "
+		       "target of conversion might be a candidate "
 		       "for a format attribute");
 	      break;
 	    case ICR_INIT: