summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-01 19:55:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-01 19:55:25 +0000
commit7c5e3348f7d4902ad8eb94d84a0a3595fbcd2ce2 (patch)
treeb5ac3b9bccd8d1b669137035a316ba53a5b0e276 /encoding.c
parent5397015d2e8c904dfbce3cc4a0884c9cbb47d8b2 (diff)
* suppress warnings on cygwin, mingw and mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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)