diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-25 15:42:14 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-25 15:42:14 +0000 |
| commit | 9c0de839ebc5514b6e81179147dea913a0457fa0 (patch) | |
| tree | 025e847bb7784184440f69fe59848895454af094 /hash.c | |
| parent | e6087d037fcd509bbf9f00af6b2f385fd2e041f1 (diff) | |
| download | ruby-9c0de839ebc5514b6e81179147dea913a0457fa0.tar.gz ruby-9c0de839ebc5514b6e81179147dea913a0457fa0.tar.xz ruby-9c0de839ebc5514b6e81179147dea913a0457fa0.zip | |
* hash.c (env_each_value): Do not call env_values() twice.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
| -rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2117,7 +2117,7 @@ env_values(void) static VALUE env_each_value(VALUE ehash) { - VALUE values = env_values(); + VALUE values; long i; RETURN_ENUMERATOR(ehash, 0, 0); |
