diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-05 06:53:42 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-05 06:53:42 +0000 |
commit | 8f86bc858fa507c2d4c3dba065c7908b8c4eb203 (patch) | |
tree | 53821c9dbe6504464af235d10ebc438c2dada047 | |
parent | 97826efddd45f85de681cc2c62f4bace1c642b3d (diff) | |
download | ruby-8f86bc858fa507c2d4c3dba065c7908b8c4eb203.tar.gz |
* ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/gdbm/gdbm.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Jan 5 15:49:45 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> + + * ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast. + Mon Jan 5 12:52:08 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * win32/win32.c (init_env): use user profile folder than personal diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index edde0d19ab..71a159171e 100644 --- a/ext/gdbm/gdbm.c +++ b/ext/gdbm/gdbm.c @@ -290,7 +290,7 @@ rb_gdbm_fetch(GDBM_FILE dbm, datum key) str = rb_str_new(val.dptr, val.dsize); free(val.dptr); OBJ_TAINT(str); - return (VALUE)str; + return str; } static VALUE |