Skip to content

Commit 0741739

Browse files
committed
Need to also ignore unused-but-set-parameter in method_bind
1 parent 36c43a5 commit 0741739

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/godot_cpp/core/method_bind.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ class MethodBindTS : public MethodBind {
605605
#if defined(__GNUC__) && !defined(__clang__)
606606
#pragma GCC diagnostic push
607607
#pragma GCC diagnostic ignored "-Wlogical-op"
608+
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
608609
#endif
609610
virtual GDExtensionVariantType gen_argument_type(int p_arg) const {
610611
if (p_arg >= 0 && p_arg < (int)sizeof...(P)) {

0 commit comments

Comments
 (0)