]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix a cross reference.
authorMingjie Xing <mingjie.xing@gmail.com>
Mon, 14 Nov 2011 05:53:18 +0000 (05:53 +0000)
committerMingjie Xing <xmj@gcc.gnu.org>
Mon, 14 Nov 2011 05:53:18 +0000 (05:53 +0000)
From-SVN: r181346

gcc/ChangeLog
gcc/doc/invoke.texi

index e58ef3216b6ce2cea960e60b72a12011610daeb2..dff01791a84a0ddeae0fe36959add7dd74f14bcf 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 54e4a48d11d1db8cb410a3163266fb9b0f3c9f25..1fc44372e322ecc447e8be99b6f4706ba93a44ea 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