diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-18 11:18:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-18 11:18:25 +0000 |
commit | c1f6b48d926e5c6d70baae2b6aa09ff58d374129 (patch) | |
tree | bca117182da75207756b9564ccff71e3ba3bf401 | |
parent | 1aa7d2dd89b6c37ea26e02f036d022877627b562 (diff) | |
download | ruby-c1f6b48d926e5c6d70baae2b6aa09ff58d374129.tar.gz ruby-c1f6b48d926e5c6d70baae2b6aa09ff58d374129.tar.xz ruby-c1f6b48d926e5c6d70baae2b6aa09ff58d374129.zip |
* load.c (rb_feature_provided): suppressed warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | load.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -225,11 +225,11 @@ rb_feature_provided(const char *feature, const char **loading) } if (ext && !strchr(ext, '/')) { if (IS_RBEXT(ext)) { - if (rb_feature_p(feature, ext, Qtrue, Qfalse, loading)) return TRUE; + if (rb_feature_p(feature, ext, TRUE, FALSE, loading)) return TRUE; return FALSE; } else if (IS_SOEXT(ext) || IS_DLEXT(ext)) { - if (rb_feature_p(feature, ext, Qfalse, Qfalse, loading)) return TRUE; + if (rb_feature_p(feature, ext, FALSE, FALSE, loading)) return TRUE; return FALSE; } } |