diff options
author | mgiuca <mgiuca@chromium.org> | 2015-07-07 21:08:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 04:09:00 +0000 |
commit | 88867d310fc297151344fcf294d23554371b2644 (patch) | |
tree | 5e5b72209031531800ce46ee19a8b2e8b5b7920a /sandbox | |
parent | f3c539b18f4e90349ebb3add169abe8478262b58 (diff) | |
download | chromium_src-88867d310fc297151344fcf294d23554371b2644.zip chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.gz chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.bz2 |
Fixed all unused-variable Clang warnings on Windows.
Usually, fixed by removing the unused variables. Some variables had to
be guarded by #ifs. Some variables could be used instead.
Also removed unused test file sweep02_16b_mono_16KHz.raw.
BUG=505319
TBR=rpaquay@chromium.org
Review URL: https://codereview.chromium.org/1220133003
Cr-Commit-Position: refs/heads/master@{#337767}
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/win/src/interception.cc | 3 | ||||
-rw-r--r-- | sandbox/win/src/process_mitigations_test.cc | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/sandbox/win/src/interception.cc b/sandbox/win/src/interception.cc index 60dd440..283c942 100644 --- a/sandbox/win/src/interception.cc +++ b/sandbox/win/src/interception.cc @@ -24,9 +24,6 @@ namespace { -const char kMapViewOfSectionName[] = "NtMapViewOfSection"; -const char kUnmapViewOfSectionName[] = "NtUnmapViewOfSection"; - // Standard allocation granularity and page size for Windows. const size_t kAllocGranularity = 65536; const size_t kPageSize = 4096; diff --git a/sandbox/win/src/process_mitigations_test.cc b/sandbox/win/src/process_mitigations_test.cc index 4d2e9c6..5fe55d7c 100644 --- a/sandbox/win/src/process_mitigations_test.cc +++ b/sandbox/win/src/process_mitigations_test.cc @@ -165,9 +165,7 @@ SBOX_TESTS_COMMAND int CheckDep(int argc, wchar_t **argv) { return SBOX_TEST_THIRD_ERROR; } - static const int MEM_EXECUTE_OPTION_ENABLE = 1; static const int MEM_EXECUTE_OPTION_DISABLE = 2; - static const int MEM_EXECUTE_OPTION_ATL7_THUNK_EMULATION = 4; static const int MEM_EXECUTE_OPTION_PERMANENT = 8; dep_flags &= 0xff; |