mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Remove useless #if 1 in array.c
This commit is contained in:
parent
fe9e57bac8
commit
47f33c3848
2
array.c
2
array.c
@ -249,7 +249,6 @@ ary_verify_(VALUE ary, const char *file, int line)
|
||||
assert(RARRAY_LEN(ary) <= ary_embed_capa(ary));
|
||||
}
|
||||
else {
|
||||
#if 1
|
||||
const VALUE *ptr = RARRAY_CONST_PTR(ary);
|
||||
long i, len = RARRAY_LEN(ary);
|
||||
volatile VALUE v;
|
||||
@ -258,7 +257,6 @@ ary_verify_(VALUE ary, const char *file, int line)
|
||||
v = ptr[i]; /* access check */
|
||||
}
|
||||
v = v;
|
||||
#endif
|
||||
}
|
||||
|
||||
return ary;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user