summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-03 22:57:23 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-03 22:57:23 +0000
commite1d5d4e7f2dce151a2e768d0e2cea38f88185958 (patch)
tree2db2906ace5d4e1683eb78aa59196d7b5d710ad3 /enc
parentc51e356c680c303fe143ef7aff737e444e55d6b2 (diff)
downloadruby-e1d5d4e7f2dce151a2e768d0e2cea38f88185958.tar.gz
* enc/unicode.c (onigenc_unicode_property_name_to_ctype):
remove useless assignment. * vm.c (vm_make_proc_from_block): ditto. * variable.c (rb_ivar_count): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r--enc/unicode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/enc/unicode.c b/enc/unicode.c
index e3a314b6f3..3ffe2057cb 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -2091,7 +2091,6 @@ onigenc_unicode_property_name_to_ctype(OnigEncoding enc, UChar* name, UChar* end
UChar *p;
OnigCodePoint code;
- p = name;
len = 0;
for (p = name; p < end; p += enclen(enc, p, end)) {
code = ONIGENC_MBC_TO_CODE(enc, p, end);