Remove unused RBASIC_RESET_FLAGS

This commit is contained in:
Peter Zhu 2025-05-30 10:41:35 -04:00
parent acc273a8a4
commit cbd49ecbbe
Notes: git 2025-06-02 13:52:41 +00:00

View File

@ -60,13 +60,4 @@ RBASIC_SET_CLASS(VALUE obj, VALUE klass)
RBASIC_SET_CLASS_RAW(obj, klass);
RB_OBJ_WRITTEN(obj, oldv, klass);
}
static inline void
RBASIC_RESET_FLAGS(VALUE obj)
{
RBASIC(obj)->flags = 0;
#if RBASIC_SHAPE_ID_FIELD
RBASIC(obj)->shape_id = 0;
#endif
}
#endif /* INTERNAL_OBJECT_H */