ruby-changes:63642
From: Sutou <ko1@a...>
Date: Wed, 18 Nov 2020 09:05:47 +0900 (JST)
Subject: [ruby-changes:63642] fcd680fbf0 (master): [ruby/fiddle] Remove needless return
https://git.ruby-lang.org/ruby.git/commit/?id=fcd680fbf0 From fcd680fbf0e664d47f3b1984694b880110962364 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei <kou@c...> Date: Wed, 18 Nov 2020 05:18:55 +0900 Subject: [ruby/fiddle] Remove needless return https://github.com/ruby/fiddle/commit/50e02f9445 diff --git a/ext/fiddle/conversions.c b/ext/fiddle/conversions.c index 27b703d..fdfc3fc 100644 --- a/ext/fiddle/conversions.c +++ b/ext/fiddle/conversions.c @@ -220,7 +220,7 @@ value_to_generic(int type, VALUE src, fiddle_generic *dst) https://github.com/ruby/ruby/blob/trunk/ext/fiddle/conversions.c#L220 { /* 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/