From ed0b850e3dc13dba1f7291d8ed45e93fd1cb9c94 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Wed, 2 Nov 2022 14:57:03 +1300 Subject: [PATCH] wafsamba: Remove unused configure check This check would trigger compiler warnings due to the extra argument passed to eprintf(). HAVE__VA_ARGS__MACRO isn't used anywhere, so we can remove the check. Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- buildtools/wafsamba/wscript | 5 ----- 1 file changed, 5 deletions(-) diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 93af81f1eca..9ee158b1f39 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -710,11 +710,6 @@ struct foo bar = { .y = 'X', .x = 1 }; define="HAVE_VA_COPY", msg="Checking for va_copy") - conf.CHECK_CODE(''' - #define eprintf(...) fprintf(stderr, __VA_ARGS__) - eprintf("bla", "bar") - ''', define='HAVE__VA_ARGS__MACRO') - conf.env.enable_fuzzing = False conf.env.enable_libfuzzer = Options.options.enable_libfuzzer -- 2.11.4.GIT