Patchwork Patch committed: Do not capitalize warning messages

login
register
mail settings
Submitter Ian Taylor
Date Sept. 15, 2010, 9 p.m.
Message ID <mcrtylqsovw.fsf@google.com>
Download mbox | patch
Permalink /patch/64904/
State New
Headers show

Comments

Ian Taylor - Sept. 15, 2010, 9 p.m.
"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

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);