Supress warning that variable may be used uninitialized with ripper building

This commit is contained in:
S-H-GAMELINKS 2023-07-16 01:11:39 +09:00 committed by Nobuyoshi Nakada
parent dd8372b3f3
commit 76ea8ecbf3
Notes: git 2023-07-20 12:56:03 +00:00

View File

@ -11335,7 +11335,7 @@ id_is_var(struct parser_params *p, ID id)
static VALUE
new_regexp(struct parser_params *p, VALUE re, VALUE opt, const YYLTYPE *loc)
{
VALUE src = 0, err;
VALUE src = 0, err = 0;
int options = 0;
if (ripper_is_node_yylval(p, re)) {
src = RNODE(re)->nd_cval;