summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-25 05:57:37 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-25 05:57:37 +0000
commita0708e0e0116ed88881f998317a4129226a6c427 (patch)
treee547d54ddfa2c6ec5f099351e375767d9d85ad93 /hash.c
parent7fb25229102019ffa33dad5c6fe5586c2dccf8a8 (diff)
downloadruby-a0708e0e0116ed88881f998317a4129226a6c427.tar.gz
ruby-a0708e0e0116ed88881f998317a4129226a6c427.tar.xz
ruby-a0708e0e0116ed88881f998317a4129226a6c427.zip
* hash.c (recursive_hash): remove unused local variable.
* parse.y (parser_yylex): ditto. * parse.y (rb_gc_mark_symbols): fix unmatched prototype . * file.c (rb_get_path): check NUL byte in the path string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 11a6bfb84..4c2360e78 100644
--- a/hash.c
+++ b/hash.c
@@ -1416,7 +1416,6 @@ static VALUE
recursive_hash(VALUE hash, VALUE dummy, int recur)
{
int hval;
- VALUE n;
if (recur) {
return LONG2FIX(0);