Remove useless #if 1 in array.c

This commit is contained in:
Peter Zhu 2023-12-23 09:51:30 -05:00
parent fe9e57bac8
commit 47f33c3848

View file

@ -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;