summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSutou Kouhei <kou@clear-code.com>2020-11-18 05:18:55 +0900
committerSutou Kouhei <kou@cozmixng.org>2020-11-18 09:05:13 +0900
commitfcd680fbf0e664d47f3b1984694b880110962364 (patch)
treec4b7ccf38eb54a3fa9f08719f2406561b844921d /ext
parentaa22b6658ae80a6e9a5404c2e38a80f6a8ab446f (diff)
[ruby/fiddle] Remove needless return
https://github.com/ruby/fiddle/commit/50e02f9445
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3780
Diffstat (limited to 'ext')
-rw-r--r--ext/fiddle/conversions.c2
1 files changed, 1 insertions, 1 deletions
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)
{
/* 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