[前][次][番号順一覧][スレッド一覧]

ruby-changes:43928

From: kou <ko1@a...>
Date: Wed, 24 Aug 2016 22:42:13 +0900 (JST)
Subject: [ruby-changes:43928] kou:r56001 (trunk): * gc.c (gc_reset_malloc_info): Remove too much "; ".

kou	2016-08-24 22:42:08 +0900 (Wed, 24 Aug 2016)

  New Revision: 56001

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56001

  Log:
    * gc.c (gc_reset_malloc_info): Remove too much ";".

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56000)
+++ ChangeLog	(revision 56001)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Aug 24 22:41:30 2016  Kouhei Sutou  <kou@c...>
+
+	* gc.c (gc_reset_malloc_info): Remove too much ";".
+
 Wed Aug 24 20:07:57 2016  Naohisa Goto  <ngotogenome@g...>
 
 	* include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition.
Index: gc.c
===================================================================
--- gc.c	(revision 56000)
+++ gc.c	(revision 56001)
@@ -6259,7 +6259,7 @@ gc_reset_malloc_info(rb_objspace_t *objs https://github.com/ruby/ruby/blob/trunk/gc.c#L6259
 #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);
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]