Remove unused variables, as suggested by @mcgov.
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 4 Nov 2019 19:55:51 +0000 (14:55 -0500)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Mon, 4 Nov 2019 19:55:51 +0000 (14:55 -0500)
Fixes warning: unused variable 'XXX' [-Wunused-const-variable]

compiler-rt/lib/asan/asan_malloc_win.cpp

index 13c6f65..4b76d4e 100644 (file)
@@ -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);