Hello, This small patch fix a cross reference in gcc document.
2011-11-05 Mingjie Xing <mingjie.x...@gmail.com> * doc/invoke.texi (Wunused-result): Change @pxref{Variable Attributes} to @pxref{Function Attributes}. Is it OK? Thanks Mingjie
Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 181008) +++ doc/invoke.texi (working copy) @@ -3535,7 +3535,7 @@ To suppress this warning use the @samp{u @opindex Wunused-result @opindex Wno-unused-result Do not warn if a caller of a function marked with attribute -@code{warn_unused_result} (@pxref{Variable Attributes}) does not use +@code{warn_unused_result} (@pxref{Function Attributes}) does not use its return value. The default is @option{-Wunused-result}. @item -Wunused-variable