From e8a09f9ad789d1c0948e048eb7c66288feb1a59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Barri=C3=A9?= Date: Wed, 6 May 2026 12:53:44 +0200 Subject: Remove unused variable warning in imemo_fields_free --- imemo.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/imemo.c b/imemo.c index 6027884f9b..a6550a11a7 100644 --- a/imemo.c +++ b/imemo.c @@ -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); } } -- cgit v1.2.3