diff options
| author | Étienne Barrié <etienne.barrie@gmail.com> | 2026-05-06 12:53:44 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2026-05-07 12:31:27 +0200 |
| commit | e8a09f9ad789d1c0948e048eb7c66288feb1a59d (patch) | |
| tree | 97d56c53497b98b65638047275a24065f593a736 | |
| parent | 9cc8943d8ddd7b4aae9b41cadb3f753cecaef16b (diff) | |
Remove unused variable warning in imemo_fields_free
| -rw-r--r-- | imemo.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -560,10 +560,7 @@ static inline void imemo_fields_free(struct rb_fields *fields) { if (FL_TEST_RAW((VALUE)fields, OBJ_FIELD_HEAP)) { -#if RUBY_DEBUG - shape_id_t shape_id = RBASIC_SHAPE_ID((VALUE)fields); - RUBY_ASSERT(rb_shape_complex_p(shape_id)); -#endif + RUBY_ASSERT(rb_shape_complex_p(RBASIC_SHAPE_ID((VALUE)fields))); st_free_table(fields->as.complex.table); } } |
