diff options
author | mcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-17 02:15:53 +0000 |
---|---|---|
committer | mcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-17 02:15:53 +0000 |
commit | 16d439c52a75dcca85b4f25bf98271bfa567fa86 (patch) | |
tree | 0021f14f34427a075f9684b5a7499ea233025110 | |
parent | 5925dff83699508b5e2735afb0297dfb310e159d (diff) | |
download | chromium_src-16d439c52a75dcca85b4f25bf98271bfa567fa86.zip chromium_src-16d439c52a75dcca85b4f25bf98271bfa567fa86.tar.gz chromium_src-16d439c52a75dcca85b4f25bf98271bfa567fa86.tar.bz2 |
Fix a trivial warning compiling basictypes.h
Using Clang with -Werror balked at this unused parameter.
C++ lets you just omit the name in that case.
BUG= none
TEST= none
Review URL: http://codereview.chromium.org/7917011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101625 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/basictypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/basictypes.h b/base/basictypes.h index c6f5097..7e34d4f 100644 --- a/base/basictypes.h +++ b/base/basictypes.h @@ -344,7 +344,7 @@ inline Dest bit_cast(const Source& source) { // ignore_result(my_var.release()); // template<typename T> -inline void ignore_result(const T& ignored) { +inline void ignore_result(const T&) { } // The following enum should be used only as a constructor argument to indicate |