aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-28 15:34:44 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-28 15:34:44 +0000
commit631b6d5aaddf5eca047462113dafe1c8e3a78b14 (patch)
treec616e633749f3e49205a33f75b6bf28699017242
parentce2a1e109c10d28f6f6908aff3a8b3209a77c5bb (diff)
downloadruby-631b6d5aaddf5eca047462113dafe1c8e3a78b14.tar.gz
* gc.c: remove unused initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--gc.c2
2 files changed, 5 insertions, 1 deletions
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 <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.
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