Skip to content

Commit fe3939a

Browse files
committed
surpress warning
1 parent 7262599 commit fe3939a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ccontext.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ mrc_ccontext_new(mrb_state *mrb)
88
{
99
mrc_ccontext temp_c = {0};
1010
temp_c.mrb = mrb;
11-
mrc_ccontext *c = (mrc_ccontext*)mrc_calloc(&temp_c, 1, sizeof(mrc_ccontext));
11+
mrc_ccontext *c = (mrc_ccontext *)mrc_calloc(&temp_c, 1, sizeof(mrc_ccontext));
1212
c->p = (mrc_parser_state *)mrc_malloc(c, sizeof(mrc_parser_state));
1313
c->options = NULL;
14-
c->mrb = mrb;
14+
c->mrb = temp_c.mrb;
1515
return c;
1616
}
1717

0 commit comments

Comments
 (0)