binpac: Remove argument from BINPAC_LSAN_DISABLE macro to fix warning on Windows

This commit is contained in:
Tim Wojtulewicz 2023-02-17 17:53:57 -07:00 committed by Tim Wojtulewicz
parent 5264b957f1
commit e05a0b8748

View file

@ -219,9 +219,9 @@ void usage()
// FreeBSD doesn't support LeakSanitizer
#if defined(USING_ASAN) && ! defined(__FreeBSD__)
#include <sanitizer/lsan_interface.h>
#define BINPAC_LSAN_DISABLE(x) __lsan_disable(x)
#define BINPAC_LSAN_DISABLE() __lsan_disable()
#else
#define BINPAC_LSAN_DISABLE(x)
#define BINPAC_LSAN_DISABLE()
#endif
int main(int argc, char* argv[])