diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 20:45:24 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 20:45:24 +0000 |
commit | b69c06338c18005e246c19fd881ed56504a4c7b8 (patch) | |
tree | 7338b6699aaac5878f640706a3ed4bb095662e1a /base/allocator | |
parent | 63e39a28e492e8f9a10d05cd970da2a1d539c0f3 (diff) | |
download | chromium_src-b69c06338c18005e246c19fd881ed56504a4c7b8.zip chromium_src-b69c06338c18005e246c19fd881ed56504a4c7b8.tar.gz chromium_src-b69c06338c18005e246c19fd881ed56504a4c7b8.tar.bz2 |
tcmalloc: disable the warning about ignoring return values
If we ever do fix the code, we can reenable the warning.
But right now we just ignore the warning so there's no reason to spam it.
BUG=89109
Review URL: http://codereview.chromium.org/7352005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/allocator')
-rw-r--r-- | base/allocator/allocator.gyp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp index be7c8dd..b6abed8 100644 --- a/base/allocator/allocator.gyp +++ b/base/allocator/allocator.gyp @@ -333,6 +333,11 @@ '<(jemalloc_dir)/rb.h', ], + # tcmalloc ignores the return value of e.g. write() in many cases. + # http://code.google.com/p/chromium/issues/detail?id=89109 + 'cflags': [ + '-Wno-unused-result', + ], 'cflags!': [ '-fvisibility=hidden', ], |