mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
bifcl: Remove argument from BIFCL_LSAN_DISABLE macro to fix warning on Windows
This commit is contained in:
parent
4352f0c0bb
commit
0c4676e835
1 changed files with 3 additions and 3 deletions
|
@ -314,9 +314,9 @@ void finish_alternative_mode()
|
|||
// FreeBSD doesn't support LeakSanitizer
|
||||
#if defined(USING_ASAN) && !defined(__FreeBSD__)
|
||||
#include <sanitizer/lsan_interface.h>
|
||||
#define BIFCL_LSAN_DISABLE(x) __lsan_disable(x)
|
||||
#define BIFCL_LSAN_DISABLE() __lsan_disable()
|
||||
#else
|
||||
#define BIFCL_LSAN_DISABLE(x)
|
||||
#define BIFCL_LSAN_DISABLE()
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -396,7 +396,7 @@ int main(int argc, char* argv[])
|
|||
fprintf(fp_netvar_init, "#pragma GCC diagnostic push\n");
|
||||
fprintf(fp_netvar_init, "#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n\n");
|
||||
fprintf(fp_netvar_init, "#endif\n");
|
||||
|
||||
|
||||
yy_switch_to_buffer(yy_create_buffer(fp_input, YY_BUF_SIZE));
|
||||
yyparse();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue