summaryrefslogtreecommitdiffstats
path: root/base/singleton.h
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-25 02:18:13 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-25 02:18:13 +0000
commit6ebed4ca8ba16c970861541e67cec3b555a27d30 (patch)
tree22b2fa7f1826160a89ed1e3a4a7e740f79639564 /base/singleton.h
parentdb5021e9f602cfcda606f06309d12930f9a0d527 (diff)
downloadchromium_src-6ebed4ca8ba16c970861541e67cec3b555a27d30.zip
chromium_src-6ebed4ca8ba16c970861541e67cec3b555a27d30.tar.gz
chromium_src-6ebed4ca8ba16c970861541e67cec3b555a27d30.tar.bz2
Comment out unused parameter names in function definitions,
to adhere to the C++ Style Guide. Landing for roubert@google.com, original review http://codereview.chromium.org/6485028/ BUG=none TEST=none Review URL: http://codereview.chromium.org/6580049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/singleton.h')
-rw-r--r--base/singleton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/singleton.h b/base/singleton.h
index 5bd5c35..0fe5e27 100644
--- a/base/singleton.h
+++ b/base/singleton.h
@@ -254,7 +254,7 @@ class Singleton {
// Adapter function for use with AtExit(). This should be called single
// threaded, so don't use atomic operations.
// Calling OnExit while singleton is in use by other threads is a mistake.
- static void OnExit(void* unused) {
+ static void OnExit(void* /*unused*/) {
// AtExit should only ever be register after the singleton instance was
// created. We should only ever get here with a valid instance_ pointer.
Traits::Delete(