8000 Remove useless `#if 1` in array.c · github/ruby@47f33c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47f33c3

Browse files
committed
Remove useless #if 1 in array.c
1 parent fe9e57b commit 47f33c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

array.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ ary_verify_(VALUE ary, const char *file, int line)
249249
assert(RARRAY_LEN(ary) <= ary_embed_capa(ary));
250250
}
251251
else {
252-
#if 1
253252
const VALUE *ptr = RARRAY_CONST_PTR(ary);
254253
long i, len = RARRAY_LEN(ary);
255254
volatile VALUE v;
@@ -258,7 +257,6 @@ ary_verify_(VALUE ary, const char *file, int line)
258257
v = ptr[i]; /* access check */
259258
}
260259
v = v;
261-
#endif
262260
}
263261

264262
return ary;

0 commit comments

Comments
 (0)
0