diff --git a/ChangeLog b/ChangeLog index c039995465..a324ec8fa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Jul 29 00:28:46 2012 Narihiro Nakamura + + * gc.c: remove unused initialization. + Sat Jul 28 16:26:09 2012 Hiroshi Shirosaki * win32/win32.c (gmtime_r): use _gmtime64_s() with x86_64-w64-mingw32. diff --git a/gc.c b/gc.c index d976a90aac..dcf90de6d4 100644 --- a/gc.c +++ b/gc.c @@ -410,7 +410,7 @@ typedef struct rb_objspace { #define ruby_initial_gc_stress initial_params.gc_stress int *ruby_initial_gc_stress_ptr = &ruby_initial_gc_stress; #else -static rb_objspace_t rb_objspace = {{GC_MALLOC_LIMIT}, {HEAP_MIN_SLOTS}}; +static rb_objspace_t rb_objspace = {{GC_MALLOC_LIMIT}}; int *ruby_initial_gc_stress_ptr = &rb_objspace.gc_stress; #endif #define malloc_limit objspace->malloc_params.limit