From 3fdee18642740a352f6f88404b0ee3cf3f35987b Mon Sep 17 00:00:00 2001 From: David Snopek Date: Mon, 26 Oct 2026 07:37:37 -0500 Subject: [PATCH] Always ignore `-Wunused-but-set-parameter` in `binder_common.hpp` --- include/godot_cpp/core/binder_common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/godot_cpp/core/binder_common.hpp b/include/godot_cpp/core/binder_common.hpp index 6636ac8ce..f7c2fd563 100644 --- a/include/godot_cpp/core/binder_common.hpp +++ b/include/godot_cpp/core/binder_common.hpp @@ -472,7 +472,7 @@ void call_with_variant_args_retc_dv(T *p_instance, R (T::*p_method)(P...) const, // GCC raises "parameter 'p_args' set but not used" when P = {}, // it's not clever enough to treat other P values as making this branch valid. -#if defined(DEBUG_ENABLED) && defined(__GNUC__) && !defined(__clang__) +#if defined(__GNUC__) && !defined(__clang__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-but-set-parameter" #endif