| Index: base/threading/thread_restrictions.h
|
| diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
|
| index 92b7bd5b2f6d4e31a39f604f1818544f16f3c8eb..d8e3cb1b55bf1260272a660b07407255de8bf952 100644
|
| --- a/base/threading/thread_restrictions.h
|
| +++ b/base/threading/thread_restrictions.h
|
| @@ -180,9 +180,9 @@ class BASE_EXPORT ThreadRestrictions {
|
| #else
|
| // Inline the empty definitions of these functions so that they can be
|
| // compiled out.
|
| - static bool SetIOAllowed(bool allowed) { return true; }
|
| + static bool SetIOAllowed(bool) { return true; }
|
| static void AssertIOAllowed() {}
|
| - static bool SetSingletonAllowed(bool allowed) { return true; }
|
| + static bool SetSingletonAllowed(bool) { return true; }
|
| static void AssertSingletonAllowed() {}
|
| static void DisallowWaiting() {}
|
| static void AssertWaitAllowed() {}
|
| @@ -243,7 +243,7 @@ class BASE_EXPORT ThreadRestrictions {
|
| #if ENABLE_THREAD_RESTRICTIONS
|
| static bool SetWaitAllowed(bool allowed);
|
| #else
|
| - static bool SetWaitAllowed(bool allowed) { return true; }
|
| + static bool SetWaitAllowed(bool) { return true; }
|
| #endif
|
|
|
| // Constructing a ScopedAllowWait temporarily allows waiting on the current
|
|
|