summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-16 07:38:40 +0000
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-16 07:38:40 +0000
commit4e13d36561868d78e9e5ff9b24aba67d418c67ed (patch)
tree07808bdd94888f12e0e1b1a6f52777f213d50b91 /enum.c
parent9df466b287471d386f962ea41cf49c40f2059c8b (diff)
-Wall cleanups (removed unused vars, no 'code has no effect' warnings)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/enum.c b/enum.c
index 92bb57d..6b76f4f 100644
--- a/enum.c
+++ b/enum.c
@@ -541,11 +541,10 @@ enum_zip(argc, argv, obj)
VALUE *argv;
VALUE obj;
{
- int i, j, len;
+ int i;
VALUE result;
NODE *memo;
- len = 0;
for (i=0; i<argc; i++) {
argv[i] = rb_convert_type(argv[i], T_ARRAY, "Array", "to_ary");
}