Skip to content
Browse files

Silence iconv warning.

  • Loading branch information...
1 parent 32c35a4 commit a2827ca99066cad5dd35126eaf11dd73406d7cbf @brixen brixen committed
Showing with 6 additions and 3 deletions.
  1. +6 −3 lib/19/iconv/ext/iconv.c
View
9 lib/19/iconv/ext/iconv.c
@@ -1208,9 +1208,12 @@ Init_iconv(void)
{
VALUE rb_cIconv = rb_define_class("Iconv", rb_cData);
- if (!NIL_P(ruby_verbose)) {
- warn_deprecated();
- }
+ /* The 'ruby_verbose' value is a broken MRI global variable that
+ * Rubinius doesn't support.
+ * if (!NIL_P(ruby_verbose)) {
+ * warn_deprecated();
+ * }
+ */
rb_define_alloc_func(rb_cIconv, iconv_s_allocate);
rb_define_singleton_method(rb_cIconv, "open", iconv_s_open, -1);
rb_define_singleton_method(rb_cIconv, "iconv", iconv_s_iconv, -1);

0 comments on commit a2827ca

Please sign in to comment.
Something went wrong with that request. Please try again.