From 7c5e3348f7d4902ad8eb94d84a0a3595fbcd2ce2 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 1 Jun 2008 19:55:25 +0000 Subject: * suppress warnings on cygwin, mingw and mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- encoding.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'encoding.c') 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) -- cgit v1.2.3