summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/encoding.c b/encoding.c
index 6e745b5e77..ffeb62b656 100644
--- a/encoding.c
+++ b/encoding.c
@@ -503,6 +503,7 @@ enc_capable(VALUE obj)
}
}
+#if 0
static void
enc_check_capable(VALUE x)
{
@@ -527,6 +528,7 @@ enc_check_capable(VALUE x)
rb_raise(rb_eTypeError, "wrong argument type %s (not encode capable)", etype);
}
}
+#endif
ID
rb_id_encoding(void)