diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-08 12:39:58 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-08 12:39:58 +0000 |
commit | 991c45c56e01d92a8c8be7a5654d7071c30917a5 (patch) | |
tree | e53fbfd2683d77c15dc311cf6737a88b334e46fc /parse.y | |
parent | 47cf2fd7ec0b0deafe209b92f94452e64869b25c (diff) | |
download | ruby-991c45c56e01d92a8c8be7a5654d7071c30917a5.tar.gz |
parse.y (remove_duplicate_keys): Remove a not used argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10486,7 +10486,7 @@ append_literal_keys(st_data_t k, st_data_t v, st_data_t h) } static NODE * -remove_duplicate_keys(struct parser_params *parser, NODE *hash, const YYLTYPE *location) +remove_duplicate_keys(struct parser_params *parser, NODE *hash) { st_table *literal_keys = st_init_numtable_with_size(hash->nd_alen / 2); NODE *result = 0; @@ -10521,7 +10521,7 @@ remove_duplicate_keys(struct parser_params *parser, NODE *hash, const YYLTYPE *l static NODE * new_hash_gen(struct parser_params *parser, NODE *hash, const YYLTYPE *location) { - if (hash) hash = remove_duplicate_keys(parser, hash, location); + if (hash) hash = remove_duplicate_keys(parser, hash); return NEW_HASH(hash, location); } #endif /* !RIPPER */ |