diff --git a/client/tracy_rpmalloc.cpp b/client/tracy_rpmalloc.cpp index 10957fd3..b35dc91c 100644 --- a/client/tracy_rpmalloc.cpp +++ b/client/tracy_rpmalloc.cpp @@ -1815,7 +1815,8 @@ _memory_unmap_os(void* address, size_t size, size_t offset, int release) { #if PLATFORM_WINDOWS if (!VirtualFree(address, release ? 0 : size, release ? MEM_RELEASE : MEM_DECOMMIT)) { DWORD err = GetLastError(); - assert("Failed to unmap virtual memory block" && err && 0); + (void)err; + assert("Failed to unmap virtual memory block" && 0); } #else MEMORY_UNUSED(release); diff --git a/common/TracySystem.cpp b/common/TracySystem.cpp index b93353f5..6775fbb8 100644 --- a/common/TracySystem.cpp +++ b/common/TracySystem.cpp @@ -1,4 +1,4 @@ -#if defined _MSC_VER || defined __CYGWIN__ || defined _WIN32 +#if defined _MSC_VER || defined __CYGWIN__ || defined _WIN32 # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif