OSDN Git Service

Fix a cross reference.
authorxmj <xmj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2011 05:53:18 +0000 (05:53 +0000)
committerxmj <xmj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Nov 2011 05:53:18 +0000 (05:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181346 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi

index e58ef32..dff0179 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-14  Mingjie Xing  <mingjie.xing@gmail.com>
+
+       * doc/invoke.texi (Wunused-result): Change @pxref{Variable Attributes}
+       to @pxref{Function Attributes}.
+
 2011-11-13  Oleg Endo  <oleg.endo@t-online.de>
 
        PR target/50694
index 54e4a48..1fc4437 100644 (file)
@@ -3556,7 +3556,7 @@ To suppress this warning use the @samp{unused} attribute
 @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