re PR c++/46901 (Error message repeats itself)
authorPaolo Carlini <paolo@gcc.gnu.org>
Sun, 12 Dec 2010 11:21:19 +0000 (11:21 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 12 Dec 2010 11:21:19 +0000 (11:21 +0000)
2010-12-12  Paolo Carlini  <paolo.carlini@oracle.com>

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

From-SVN: r167723

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

index 53a064ef169ac0e26b98420b4a270aa55aeb0093..0383806ffccdd2f94266ba160ab7a6b1186ee040 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/46901
+       * typeck.c (convert_for_assignment): Fix typo in warning message.
+
 2010-12-10  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/46001
@@ -30,7 +35,7 @@
        (cp_parser_objc_class_interface): Updated call to
        cp_parser_objc_superclass_or_category.
        (cp_parser_objc_class_implementation): Same change.
-       
+
 2010-12-09  Nathan Froyd  <froydnj@codesourcery.com>
 
        * call.c (print_conversion_rejection): Indent messages two spaces.
        (cp/semantics.o): Same change.
        (cp/typeck.o): Same change.
        * config-lang.in (gtfiles): Added c-family/c-objc.h.
-       
+
 2010-12-03  Jason Merrill  <jason@redhat.com>
 
        PR c++/46645
 
 2010-11-04  Nicola Pero  <nicola.pero@meta-innovation.com>
 
-       Fixed using the Objective-C 2.0 dot-syntax with class names.    
+       Fixed using the Objective-C 2.0 dot-syntax with class names.
        * parser.c (cp_parser_primary_expression): Recognize Objective-C
        2.0 dot-syntax with class names and process it.
        (cp_parser_nonclass_name): Recognize Objective-C 2.0 dot-syntax
        with class names.
        (cp_parser_class_name): Same change.
        (cp_parser_simple_type_specifier): Tidied comments.
-       
+
 2010-11-04  Jason Merrill  <jason@redhat.com>
 
        PR c++/46298
index edf1c1378475abacfd5033412ec8997bea4e82b8..64ca9bd79f51b8bcbd93ec4cc7be9c3bd4bf3e9c 100644 (file)
@@ -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: