1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/fiddle] Remove needless return

https://github.com/ruby/fiddle/commit/50e02f9445
This commit is contained in:
Sutou Kouhei 2020-11-18 05:18:55 +09:00 committed by Sutou Kouhei
parent aa22b6658a
commit fcd680fbf0
Notes: git 2020-11-18 09:05:43 +09:00

View file

@ -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
* isn't String. */
return rb_fiddle_value_to_generic(type, &src, dst);
rb_fiddle_value_to_generic(type, &src, dst);
}
VALUE