This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[doc] Fix a cross reference
- From: Mingjie Xing <mingjie dot xing at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 5 Nov 2011 16:47:06 +0800
- Subject: [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