From: Alexandre Ganea Date: Mon, 4 Nov 2019 19:55:51 +0000 (-0500) Subject: Remove unused variables, as suggested by @mcgov. X-Git-Tag: llvmorg-11-init~5051 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efad56b2be9b9f7d5b62d1f06541192fa6b537ee;p=platform%2Fupstream%2Fllvm.git Remove unused variables, as suggested by @mcgov. Fixes warning: unused variable 'XXX' [-Wunused-const-variable] --- diff --git a/compiler-rt/lib/asan/asan_malloc_win.cpp b/compiler-rt/lib/asan/asan_malloc_win.cpp index 13c6f65..4b76d4e 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);