diff mbox

Patch committed: Do not capitalize warning messages

Message ID mcrtylqsovw.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Sept. 15, 2010, 9 p.m. UTC
"Joseph S. Myers" <joseph@codesourcery.com> writes:

> On Wed, 15 Sep 2010, Ian Lance Taylor wrote:
>
>> -			     "Bad option %s to optimize attribute.", p);
>> +			     "bad option %s to optimize attribute.", p);
>
> There's still an inappropriate trailing "." here....

Oh yeah.  Fixed like so.  Bootstrapped and tested on
x86_64-unknown-linux-gnu.  Committed as obvious.

Ian
diff mbox

Patch

Index: c-family/c-common.c
===================================================================
--- c-family/c-common.c	(revision 164316)
+++ c-family/c-common.c	(working copy)
@@ -7730,7 +7730,7 @@  parse_optimize_options (tree args, bool 
 		  ret = false;
 		  if (attr_p)
 		    warning (OPT_Wattributes,
-			     "bad option %s to optimize attribute.", p);
+			     "bad option %s to optimize attribute", p);
 		  else
 		    warning (OPT_Wpragmas,
 			     "bad option %s to pragma attribute", p);