From 8ddc191df4d125285565b14e0bf319f0043ba63d Mon Sep 17 00:00:00 2001 From: kou Date: Wed, 24 Aug 2016 13:42:08 +0000 Subject: [PATCH] * gc.c (gc_reset_malloc_info): Remove too much ";". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ gc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed582c5b3d..07dec93d04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Aug 24 22:41:30 2016 Kouhei Sutou + + * gc.c (gc_reset_malloc_info): Remove too much ";". + Wed Aug 24 20:07:57 2016 Naohisa Goto * include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition. diff --git a/gc.c b/gc.c index b2e6003127..cf8170bc5a 100644 --- a/gc.c +++ b/gc.c @@ -6259,7 +6259,7 @@ gc_reset_malloc_info(rb_objspace_t *objspace) #if RGENGC_ESTIMATE_OLDMALLOC if (!is_full_marking(objspace)) { if (objspace->rgengc.oldmalloc_increase > objspace->rgengc.oldmalloc_increase_limit) { - objspace->rgengc.need_major_gc |= GPR_FLAG_MAJOR_BY_OLDMALLOC;; + objspace->rgengc.need_major_gc |= GPR_FLAG_MAJOR_BY_OLDMALLOC; objspace->rgengc.oldmalloc_increase_limit = (size_t)(objspace->rgengc.oldmalloc_increase_limit * gc_params.oldmalloc_limit_growth_factor);