зеркало из https://github.com/github/ruby.git
[ruby/fiddle] Remove needless return
https://github.com/ruby/fiddle/commit/50e02f9445
This commit is contained in:
Родитель
aa22b6658a
Коммит
fcd680fbf0
|
@ -220,7 +220,7 @@ value_to_generic(int type, VALUE src, fiddle_generic *dst)
|
||||||
{
|
{
|
||||||
/* src isn't safe from GC when type is TYPE_CONST_STRING and src
|
/* src isn't safe from GC when type is TYPE_CONST_STRING and src
|
||||||
* isn't String. */
|
* isn't String. */
|
||||||
return rb_fiddle_value_to_generic(type, &src, dst);
|
rb_fiddle_value_to_generic(type, &src, dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
|
|
Загрузка…
Ссылка в новой задаче