This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[doc] Fix a cross reference


Hello,

This small patch fix a cross reference in gcc document.

2011-11-05  Mingjie Xing  <mingjie.xing@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]