From f0541e0f6b5098e0cad1cd14d65ceab0e0411b26 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 13 Oct 2013 17:26:17 +0900 Subject: [PATCH] arena doesn't have to be explicitly initialized --- src/state.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/state.c b/src/state.c index 17ad6368..04021827 100644 --- a/src/state.c +++ b/src/state.c @@ -31,7 +31,6 @@ pic_open() init_heap_page(pic->heap); /* GC arena */ - pic->arena = (struct pic_object *)calloc(PIC_ARENA_SIZE, sizeof(struct pic_object *)); pic->arena_idx = 0; pic->global_env = pic_new_empty_env();