Skip to content

Commit

Permalink
Merge pull request #2050 from S-H-GAMELINKS/suppress/melt_array-inlin…
Browse files Browse the repository at this point in the history
…e-warning

Suppress `inline` is not at beginning of declaration for melt_array
  • Loading branch information
soutaro authored Oct 7, 2024
2 parents 16c0232 + 08f2e26 commit fc3c07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/rbs_extension/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ typedef struct {

static VALUE EMPTY_ARRAY;

static void inline melt_array(VALUE *array) {
static inline void melt_array(VALUE *array) {
if (*array == EMPTY_ARRAY) {
*array = rb_ary_new();
}
Expand Down

0 comments on commit fc3c07f

Please sign in to comment.