diff --git a/interface/core/memory/memory.h b/interface/core/memory/memory.h index 6b00939..df58a4d 100644 --- a/interface/core/memory/memory.h +++ b/interface/core/memory/memory.h @@ -511,7 +511,8 @@ namespace hud check(destination != nullptr); memset(destination, value, size); // Prevent compiler from removing the memset - [[maybe_unused]] volatile unsigned char *p = (volatile unsigned char *)destination; + volatile unsigned char *p = (volatile unsigned char *)destination; + (void *)p; return destination; }