mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b942e7891a
commit
3c11b2f2c9
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Dec 4 08:50:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil.
|
||||||
|
|
||||||
Sat Dec 4 08:25:15 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Dec 4 08:25:15 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* vm_insnhelper.c (vm_call_method): revert r30064 and r30071,
|
* vm_insnhelper.c (vm_call_method): revert r30064 and r30071,
|
||||||
|
|
|
@ -1208,7 +1208,9 @@ Init_iconv(void)
|
||||||
{
|
{
|
||||||
VALUE rb_cIconv = rb_define_class("Iconv", rb_cData);
|
VALUE rb_cIconv = rb_define_class("Iconv", rb_cData);
|
||||||
|
|
||||||
warn_deprecated();
|
if (!NIL_P(ruby_verbose)) {
|
||||||
|
warn_deprecated();
|
||||||
|
}
|
||||||
rb_define_alloc_func(rb_cIconv, iconv_s_allocate);
|
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, "open", iconv_s_open, -1);
|
||||||
rb_define_singleton_method(rb_cIconv, "iconv", iconv_s_iconv, -1);
|
rb_define_singleton_method(rb_cIconv, "iconv", iconv_s_iconv, -1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue