Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2445)

Unified Diff: sandbox/win/src/process_mitigations_test.cc

Issue 1220133003: Fixed all unused-variable Clang warnings on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iaccessible2-fix-gn
Patch Set: Rebase. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/win/src/process_mitigations_test.cc
diff --git a/sandbox/win/src/process_mitigations_test.cc b/sandbox/win/src/process_mitigations_test.cc
index 4d2e9c6e9562a6abdd3488afaa2a4636cc893fac..5fe55d7cd02599a6ffe1a3ceb0fdbf4ae941ea82 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;

Powered by Google App Engine
This is Rietveld 408576698