diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-01 19:55:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-01 19:55:25 +0000 |
commit | fa8c20d7442acba1caeabc56e5a97a19b759a938 (patch) | |
tree | b5ac3b9bccd8d1b669137035a316ba53a5b0e276 /encoding.c | |
parent | 7bf0804e548db6cb1e517f5d75f54ac6fab41500 (diff) | |
download | ruby-fa8c20d7442acba1caeabc56e5a97a19b759a938.tar.gz ruby-fa8c20d7442acba1caeabc56e5a97a19b759a938.tar.xz ruby-fa8c20d7442acba1caeabc56e5a97a19b759a938.zip |
* suppress warnings on cygwin, mingw and mswin.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/encoding.c b/encoding.c index 6e745b5e7..ffeb62b65 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) |