Module: wine Branch: master Commit: 04b3f6ee511696c2e3b1700475f775738d7fe24d URL: https://gitlab.winehq.org/wine/wine/-/commit/04b3f6ee511696c2e3b1700475f7757...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Dec 7 00:28:10 2023 +0100
ntdll: Remove unused valgrind_make_readable function.
---
dlls/ntdll/heap.c | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index e3388e1bc8a..4dc3e7296b6 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -460,16 +460,6 @@ static inline void valgrind_make_noaccess( void const *ptr, SIZE_T size ) #endif }
-/* mark a block of memory as initialized for debugging purposes */ -static inline void valgrind_make_readable( void const *ptr, SIZE_T size ) -{ -#if defined(VALGRIND_MAKE_MEM_DEFINED) - VALGRIND_DISCARD( VALGRIND_MAKE_MEM_DEFINED( ptr, size ) ); -#elif defined(VALGRIND_MAKE_READABLE) - VALGRIND_DISCARD( VALGRIND_MAKE_READABLE( ptr, size ) ); -#endif -} - /* mark a block of memory as uninitialized for debugging purposes */ static inline void valgrind_make_writable( void const *ptr, SIZE_T size ) {