diff mbox

PR 52118 (Description of Wunused-local-typedefs)

Message ID 4F2C76EA.4080308@oracle.com
State New
Headers show

Commit Message

Paolo Carlini Feb. 4, 2012, 12:08 a.m. UTC
Hi,

when Dodji added the new warning something went wrong with the 
description in c.opt, which seems truncated. I'm proposing the below, 
very close to the text in invoke.texi besides the plural form, which 
seems more consistent. Is it Ok with you?

Thanks,
Paolo.

//////////////////
2012-02-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c/52118
	* c.opt ([Wunused-local-typedefs]): Fix description.

Comments

Jason Merrill Feb. 6, 2012, 6:28 a.m. UTC | #1
OK.

Jason
diff mbox

Patch

Index: c.opt
===================================================================
--- c.opt	(revision 183883)
+++ c.opt	(working copy)
@@ -1,6 +1,6 @@ 
 ; Options for the C, ObjC, C++ and ObjC++ front ends.
 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-; 2011 Free Software Foundation, Inc.
+; 2011, 2012 Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
 ;
@@ -663,7 +663,7 @@  Warn about unsuffixed float constants
 
 Wunused-local-typedefs
 C ObjC C++ ObjC++ Var(warn_unused_local_typedefs) Warning
-Warn about
+Warn when typedefs locally defined in a function are not used
 
 Wunused-macros
 C ObjC C++ ObjC++ Warning