diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-27 07:41:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-27 07:41:07 +0000 |
commit | caada48ee823871ee85a5b1096a9f7ca6815eef5 (patch) | |
tree | e1cb27bbc111093110696254bf2fa6d674703946 /ChangeLog | |
parent | 3f682c2c8ac3a1438082e4f95467e16247f105fa (diff) | |
download | ruby-caada48ee823871ee85a5b1096a9f7ca6815eef5.tar.gz |
error.c: suppress warnings
* error.c (rb_error_frozen_object): use rb_attr_get instead of
rb_ivar_get to get rid of warnings for string objects created
when frozen-string-literal-debug is disabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Tue Oct 27 16:41:05 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * error.c (rb_error_frozen_object): use rb_attr_get instead of + rb_ivar_get to get rid of warnings for string objects created + when frozen-string-literal-debug is disabled. + Tue Oct 27 16:18:12 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/logger.rb (Logger::Period#previous_period_end): as weekly |