From cb6fc579f462c17870bb78b50c2f1b9cb4019cc2 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 28 Aug 2012 16:57:50 +0000 Subject: [PATCH] insns.def: duplicated code * insns.def (checkmatch): remove duplicated code. [ruby-core:47339] [Bug #6930] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- insns.def | 2 -- 1 file changed, 2 deletions(-) diff --git a/insns.def b/insns.def index 04ecd8d8c8..e55ec30a07 100644 --- a/insns.def +++ b/insns.def @@ -840,8 +840,6 @@ checkmatch if (flag & VM_CHECKMATCH_ARRAY) { int i; for (i = 0; i < RARRAY_LEN(pattern); i++) { - enum vm_check_match_type checkmatch_type = - (enum vm_check_match_type)(flag & VM_CHECKMATCH_TYPE_MASK); if (RTEST(check_match(RARRAY_PTR(pattern)[i], target, checkmatch_type))) { result = Qtrue; break;