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.carl...@oracle.com>

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

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

Reply via email to