diff --git a/include/godot_cpp/core/binder_common.hpp b/include/godot_cpp/core/binder_common.hpp index ba99aa38a..7226af58e 100644 --- a/include/godot_cpp/core/binder_common.hpp +++ b/include/godot_cpp/core/binder_common.hpp @@ -262,6 +262,7 @@ void call_with_variant_args_ret_helper(T *p_instance, R (T::*p_method)(P...), co #else r_ret = (p_instance->*p_method)(VariantCaster

::cast(*p_args[Is])...); #endif + (void)p_args; // Avoid warning. } template @@ -273,7 +274,7 @@ void call_with_variant_args_retc_helper(T *p_instance, R (T::*p_method)(P...) co #else r_ret = (p_instance->*p_method)(VariantCaster

::cast(*p_args[Is])...); #endif - (void)p_args; + (void)p_args; // Avoid warning. } template