Make ruby_enable_autocompact static

It's not used outside of defaut.c
This commit is contained in:
Peter Zhu 2025-03-23 11:45:27 -04:00
parent b9e9a1034a
commit e4c7eb1152
Notes: git 2025-03-25 20:19:50 +00:00

View File

@ -983,7 +983,7 @@ struct RZombie {
#define RZOMBIE(o) ((struct RZombie *)(o))
int ruby_enable_autocompact = 0;
static bool ruby_enable_autocompact = false;
#if RGENGC_CHECK_MODE
gc_compact_compare_func ruby_autocompact_compare_func;
#endif