diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-11-04 14:55:51 -0500 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-11-04 14:55:51 -0500 |
commit | efad56b2be9b9f7d5b62d1f06541192fa6b537ee (patch) | |
tree | 770c0c7d33559f191244d2cefa8b695da179b9bd | |
parent | 9cc3ebf8b7630e30bc0eea6dc4a55348edf71091 (diff) | |
download | bcm5719-llvm-efad56b2be9b9f7d5b62d1f06541192fa6b537ee.tar.gz bcm5719-llvm-efad56b2be9b9f7d5b62d1f06541192fa6b537ee.zip |
Remove unused variables, as suggested by @mcgov.
Fixes warning: unused variable 'XXX' [-Wunused-const-variable]
-rw-r--r-- | compiler-rt/lib/asan/asan_malloc_win.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/lib/asan/asan_malloc_win.cpp b/compiler-rt/lib/asan/asan_malloc_win.cpp index 13c6f652119..4b76d4ebd3e 100644 --- a/compiler-rt/lib/asan/asan_malloc_win.cpp +++ b/compiler-rt/lib/asan/asan_malloc_win.cpp @@ -35,11 +35,8 @@ constexpr unsigned long HEAP_REALLOC_IN_PLACE_ONLY = 0x00000010; constexpr unsigned long HEAP_ALLOCATE_SUPPORTED_FLAGS = (HEAP_ZERO_MEMORY); constexpr unsigned long HEAP_ALLOCATE_UNSUPPORTED_FLAGS = (~HEAP_ALLOCATE_SUPPORTED_FLAGS); -constexpr unsigned long HEAP_FREE_SUPPORTED_FLAGS = (0); constexpr unsigned long HEAP_FREE_UNSUPPORTED_FLAGS = (~HEAP_ALLOCATE_SUPPORTED_FLAGS); -constexpr unsigned long HEAP_REALLOC_SUPPORTED_FLAGS = - (HEAP_REALLOC_IN_PLACE_ONLY | HEAP_ZERO_MEMORY); constexpr unsigned long HEAP_REALLOC_UNSUPPORTED_FLAGS = (~HEAP_ALLOCATE_SUPPORTED_FLAGS); |