mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
dbm.c: removed useless assignments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1852b4a866
commit
1b7e97044d
1 changed files with 0 additions and 2 deletions
|
@ -339,8 +339,6 @@ fdbm_key(VALUE obj, VALUE valstr)
|
|||
ExportStringValue(valstr);
|
||||
len = RSTRING_LEN(valstr);
|
||||
if (TOO_LONG(len)) return Qnil;
|
||||
val.dptr = RSTRING_PTR(valstr);
|
||||
val.dsize = (DSIZE_TYPE)len;
|
||||
|
||||
GetDBM2(obj, dbmp, dbm);
|
||||
for (key = dbm_firstkey(dbm); key.dptr; key = dbm_nextkey(dbm)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue