summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-04-11 17:31:08 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2024-04-11 17:31:28 -0700
commit971b552735f46cbda7345e8de60a2037ee10e259 (patch)
tree9dee349d200e9268debce272bcbd06bad3900088 /include/ruby/encoding.h
parent842f151d79824cd09d1a9020bc392265b33df79e (diff)
[PRISM] Suppress compiler warnings
../prism_compile.c: In function ‘pm_compile_node’: ../compile.c:583:24: warning: ‘retry_end_l’ may be used uninitialized in this function [-Wmaybe-uninitialized] 583 | anchor->last->next = elem; | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from ../compile.c:14256: ../prism_compile.c:5796:16: note: ‘retry_end_l’ was declared here 5796 | LABEL *retry_end_l; | ^~~~~~~~~~~ ../compile.c:255:42: warning: ‘retry_label’ may be used uninitialized in this function [-Wmaybe-uninitialized] 255 | #define LABEL_REF(label) ((label)->refcnt++) | ^~ In file included from ../compile.c:14256: ../prism_compile.c:5795:16: note: ‘retry_label’ was declared here 5795 | LABEL *retry_label; | ^~~~~~~~~~~ ../prism_compile.c:5919:52: warning: ‘previous_block’ may be used uninitialized in this function [-Wmaybe-uninitialized] 5919 | ISEQ_COMPILE_DATA(iseq)->current_block = previous_block; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions