summaryrefslogtreecommitdiffstats
path: root/base/compiler_specific.h
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 00:48:35 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 00:48:35 +0000
commit117bbe3264895b14deb55343cee32c3eddcb6968 (patch)
treedd907505abbdc36e51f07362cfd4e383036f33d2 /base/compiler_specific.h
parent8b42fff2404794cf9f883f6dffa0fd1e9fa0c7a6 (diff)
downloadchromium_src-117bbe3264895b14deb55343cee32c3eddcb6968.zip
chromium_src-117bbe3264895b14deb55343cee32c3eddcb6968.tar.gz
chromium_src-117bbe3264895b14deb55343cee32c3eddcb6968.tar.bz2
Comment on WARN_UNUSED_RESULT about how to defeat it.
Comment change only. BUG=none TEST=none Review URL: http://codereview.chromium.org/7050022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/compiler_specific.h')
-rw-r--r--base/compiler_specific.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/compiler_specific.h b/base/compiler_specific.h
index 99e4f8e..0a6e05a 100644
--- a/base/compiler_specific.h
+++ b/base/compiler_specific.h
@@ -111,6 +111,7 @@
// Annotate a function indicating the caller must examine the return value.
// Use like:
// int foo() WARN_UNUSED_RESULT;
+// To explicitly ignore a result, see |ignore_result()| in <base/basictypes.h>.
#if defined(COMPILER_GCC)
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else