summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-05 09:50:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-05 09:50:12 +0000
commit8baffe6ef664e53a6acf0c3f52e900d37780fabb (patch)
treec8beb7b613d023d0ea60a4c8d8cdf7427e7ded17 /vm_eval.c
parent0e4b86b5b94c8ce6abedde5a525f0a48c36ddd1d (diff)
* class.c (rb_obj_methods), compile.c (iseq_compile_each),
iseq.c(iseq_load, rb_iseq_parameters), pack.c (pack_pack), regcomp.c (is_not_included, update_string_node_case_fold), transcode.c (rb_econv_open0, make_replacement), vm_eval.c (raise_method_missing): remove unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 270255eae1..44edf6f5ea 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -526,7 +526,6 @@ static void
raise_method_missing(rb_thread_t *th, int argc, const VALUE *argv, VALUE obj,
int last_call_status)
{
- ID id;
VALUE exc = rb_eNoMethodError;
const char *format = 0;
@@ -536,8 +535,6 @@ raise_method_missing(rb_thread_t *th, int argc, const VALUE *argv, VALUE obj,
stack_check();
- id = SYM2ID(argv[0]);
-
if (last_call_status & NOEX_PRIVATE) {
format = "private method `%s' called for %s";
}