diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-07 13:57:07 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-07 13:57:07 +0000 |
commit | 4d351c7b242a7b2fd4bcca6f9d1ef7c63b03ffd1 (patch) | |
tree | 5e1aeb9555b69d07c3516bd9124267a23c7b9ffd /error.c | |
parent | 646b24a9c8cf69309b66bb2cdf02eb83388cd409 (diff) |
Remove redundant RTEST
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |