mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove redundant RTEST
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
646b24a9c8
commit
4d351c7b24
1 changed files with 1 additions and 1 deletions
2
error.c
2
error.c
|
@ -1463,7 +1463,7 @@ nometh_err_initialize_options(int argc, VALUE *argv, VALUE self, VALUE options)
|
|||
VALUE args = (argc > 2) ? argv[--argc] : Qnil;
|
||||
name_err_initialize_options(argc, argv, self, options);
|
||||
rb_ivar_set(self, id_args, args);
|
||||
rb_ivar_set(self, id_private_call_p, RTEST(priv) ? Qtrue : Qfalse);
|
||||
rb_ivar_set(self, id_private_call_p, priv);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue