зеркало из https://github.com/github/ruby.git
* string.c (str_alloc): no need to clear RString (already cleared).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
80afc9b2f3
Коммит
7497452930
|
@ -1,3 +1,7 @@
|
|||
Thu Jul 18 14:37:57 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* string.c (str_alloc): no need to clear RString (already cleared).
|
||||
|
||||
Thu Jul 18 12:57:47 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (BDIGITS_ZERO): Defined.
|
||||
|
|
5
string.c
5
string.c
|
@ -382,11 +382,6 @@ static inline VALUE
|
|||
str_alloc(VALUE klass)
|
||||
{
|
||||
NEWOBJ_OF(str, struct RString, klass, T_STRING | (RGENGC_WB_PROTECTED_STRING ? FL_WB_PROTECTED : 0));
|
||||
|
||||
str->as.heap.ptr = 0;
|
||||
str->as.heap.len = 0;
|
||||
str->as.heap.aux.capa = 0;
|
||||
|
||||
return (VALUE)str;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче