Skip to content

Commit

Permalink
Need to also ignore unused-but-set-parameter in method_bind
Browse files Browse the repository at this point in the history
  • Loading branch information
Faless committed Dec 1, 2023
1 parent 36c43a5 commit 0741739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/godot_cpp/core/method_bind.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ class MethodBindTS : public MethodBind {
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wlogical-op"
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
#endif
virtual GDExtensionVariantType gen_argument_type(int p_arg) const {
if (p_arg >= 0 && p_arg < (int)sizeof...(P)) {
Expand Down

0 comments on commit 0741739

Please sign in to comment.