diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-12-23 09:51:30 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-12-23 09:51:30 -0500 |
commit | 47f33c38481d79563271f042946d0f3165d8b638 (patch) | |
tree | bddc6592e2dc8811399ffb1a01c1acb59614c176 /array.c | |
parent | fe9e57bac8ec73ad822c1b245376a6cd96139ccb (diff) | |
download | ruby-47f33c38481d79563271f042946d0f3165d8b638.tar.gz |
Remove useless `#if 1` in array.c
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |