1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c: remove unused initialization.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nari 2012-07-28 15:34:44 +00:00
parent ce2a1e109c
commit 631b6d5aad
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Jul 29 00:28:46 2012 Narihiro Nakamura <authornari@gmail.com>
* gc.c: remove unused initialization.
Sat Jul 28 16:26:09 2012 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* win32/win32.c (gmtime_r): use _gmtime64_s() with x86_64-w64-mingw32.

2
gc.c
View file

@ -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