diff options
author | justincohen@chromium.org <justincohen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 06:46:38 +0000 |
---|---|---|
committer | justincohen@chromium.org <justincohen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 06:46:38 +0000 |
commit | b561f6d02d8a150454eefa5f36fc61e30b884a51 (patch) | |
tree | d7b8b7d60289bf2b754bd8ad63cf83d24c2b2ea2 /base/memory | |
parent | 058fe53a7b4203b331637293475a9d1eeed17aeb (diff) | |
download | chromium_src-b561f6d02d8a150454eefa5f36fc61e30b884a51.zip chromium_src-b561f6d02d8a150454eefa5f36fc61e30b884a51.tar.gz chromium_src-b561f6d02d8a150454eefa5f36fc61e30b884a51.tar.bz2 |
Fix error: unused variable 'kNumTasks'.
Needed for iOS builds using -Wunused-const-variable.
BUG=None
TEST=None
Review URL: https://codereview.chromium.org/92093002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/memory')
-rw-r--r-- | base/memory/shared_memory_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/memory/shared_memory_unittest.cc b/base/memory/shared_memory_unittest.cc index a1aa9e32..f3c612f 100644 --- a/base/memory/shared_memory_unittest.cc +++ b/base/memory/shared_memory_unittest.cc @@ -33,7 +33,9 @@ #endif static const int kNumThreads = 5; +#if !defined(OS_IOS) // iOS does not allow multiple processes. static const int kNumTasks = 5; +#endif namespace base { |