mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
binpac: Remove argument from BINPAC_LSAN_DISABLE macro to fix warning on Windows
This commit is contained in:
parent
5264b957f1
commit
e05a0b8748
1 changed files with 2 additions and 2 deletions
|
@ -219,9 +219,9 @@ void usage()
|
||||||
// FreeBSD doesn't support LeakSanitizer
|
// FreeBSD doesn't support LeakSanitizer
|
||||||
#if defined(USING_ASAN) && ! defined(__FreeBSD__)
|
#if defined(USING_ASAN) && ! defined(__FreeBSD__)
|
||||||
#include <sanitizer/lsan_interface.h>
|
#include <sanitizer/lsan_interface.h>
|
||||||
#define BINPAC_LSAN_DISABLE(x) __lsan_disable(x)
|
#define BINPAC_LSAN_DISABLE() __lsan_disable()
|
||||||
#else
|
#else
|
||||||
#define BINPAC_LSAN_DISABLE(x)
|
#define BINPAC_LSAN_DISABLE()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue