diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-10-12 04:53:36 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-10-12 04:53:36 +0000 |
commit | be1fea072cd0d22788ef8a931c0c6b64a2503b5d (patch) | |
tree | 4d17e3f2cabbe9f4ea2bee8f523de11ce30f6a39 /hash.c | |
parent | 758cb647c7ac9e02a9ee0d7cb0934a5c963481e0 (diff) |
19991012
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -264,6 +264,7 @@ rb_hash_s_create(argc, argv, klass) hash = rb_hash_new2(klass); for (i=0; i<argc; i+=2) { + if (NIL_P(argv[i+1])) continue; st_insert(RHASH(hash)->tbl, argv[i], argv[i+1]); } |