diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-31 00:47:56 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-31 10:21:22 +0900 |
commit | 181207e830cc8fb0fac78e9bcd4163c25831c600 (patch) | |
tree | 20298ac9a9b11ba6db7618df6418d85c00dc97c6 | |
parent | a598730e79345e4f8cac6c6e26cf0572b1610e3c (diff) | |
download | ruby-181207e830cc8fb0fac78e9bcd4163c25831c600.tar.gz |
Constify line_node in iseq_compile_each0
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8145,7 +8145,7 @@ static int iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, int popped) { const int line = (int)nd_line(node); - const NODE *line_node = node; + const NODE *const line_node = node; const enum node_type type = nd_type(node); struct rb_iseq_constant_body *const body = iseq->body; |