aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSutou Kouhei <kou@clear-code.com>2023-10-30 14:57:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-08 09:25:45 +0900
commit9c2e0d49fe64d398edb9b95e642eb6a3dfc2a4c1 (patch)
tree3c10e0c811a277304579be28ad422853c0bce77c
parentc19ea1066a22b8ef3b44050d42a47a8413d97692 (diff)
downloadruby-9c2e0d49fe64d398edb9b95e642eb6a3dfc2a4c1.tar.gz
[ruby/fiddle] Remove garbage
https://github.com/ruby/fiddle/commit/bbcb66e16e
-rw-r--r--ext/fiddle/conversions.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/fiddle/conversions.c b/ext/fiddle/conversions.c
index 8c223ea959..796bf929c3 100644
--- a/ext/fiddle/conversions.c
+++ b/ext/fiddle/conversions.c
@@ -200,7 +200,6 @@ rb_fiddle_int_to_ffi_type(int type)
return rb_ffi_type_of(char);
} else if (sizeof(bool) == sizeof(short)) {
return rb_ffi_type_of(short);
- return INT2NUM(TYPE_USHORT);
} else if (sizeof(bool) == sizeof(int)) {
return rb_ffi_type_of(int);
} else if (sizeof(bool) == sizeof(long)) {