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

ruby-changes:32794

From: nobu <ko1@a...>
Date: Fri, 7 Feb 2014 10:59:21 +0900 (JST)
Subject: [ruby-changes:32794] nobu:r44873 (trunk): gc.c: revert return

nobu	2014-02-07 10:59:16 +0900 (Fri, 07 Feb 2014)

  New Revision: 44873

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44873

  Log:
    gc.c: revert return
    
    * gc.c (get_envparam_size): revert `return` statement removed by
      accident.

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 44872)
+++ gc.c	(revision 44873)
@@ -5667,6 +5667,7 @@ get_envparam_size(const char *name, size https://github.com/ruby/ruby/blob/trunk/gc.c#L5667
 		fprintf(stderr, "%s=%"PRIdSIZE" (default value: %"PRIdSIZE")\n", name, val, *default_value);
 	    }
 	    *default_value = (size_t)val;
+	    return 1;
 	}
 	else {
 	    if (RTEST(ruby_verbose)) {

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

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