summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-24 18:33:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-24 18:33:50 +0000
commit5dd2b7102c42cd31a0fec424addbdeaeefb235ac (patch)
treec04ed9798be30923eec668e9deed5f377e67b02d /eval.c
parentc9aad4c098193cad0440228595c85aadc44bebe5 (diff)
* gcc -Wall clean-up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/eval.c b/eval.c
index ed3815b..8e757ea 100644
--- a/eval.c
+++ b/eval.c
@@ -4538,7 +4538,7 @@ rb_rescue(b_proc, data1, r_proc, data2)
VALUE (*b_proc)(), (*r_proc)();
VALUE data1, data2;
{
- return rb_rescue2(b_proc, data1, r_proc, data2, rb_eStandardError, 0);
+ return rb_rescue2(b_proc, data1, r_proc, data2, rb_eStandardError, (VALUE)0);
}
VALUE
@@ -7376,13 +7376,6 @@ method_unbind(obj)
}
static VALUE
-umethod_unbind(obj)
- VALUE obj;
-{
- return obj;
-}
-
-static VALUE
rb_obj_method(obj, vid)
VALUE obj;
VALUE vid;
@@ -9937,7 +9930,6 @@ thgroup_enclose(group)
VALUE group;
{
struct thgroup *data;
- rb_thread_t th;
Data_Get_Struct(group, struct thgroup, data);
data->enclosed = 1;