From 36aba57e4bb0d8140257b8cbfbcf33dadebf509e Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 8 Feb 2022 14:00:45 +0000 Subject: [PATCH] some more code clean-up --- lib/gc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/gc.c b/lib/gc.c index fbc8ad3..d5d6c87 100644 --- a/lib/gc.c +++ b/lib/gc.c @@ -849,7 +849,7 @@ int hcl_ignite (hcl_t* hcl, hcl_oow_t heapsize) if (!hcl->code.dbgi) { - hcl->code.dbgi = (hcl_oow_t*)hcl_allocmem(hcl, HCL_SIZEOF(*hcl->code.dbgi) * HCL_BC_BUFFER_INIT); + hcl->code.dbgi = (hcl_dbgi_t*)hcl_allocmem(hcl, HCL_SIZEOF(*hcl->code.dbgi) * HCL_BC_BUFFER_INIT); if (HCL_UNLIKELY(!hcl->code.dbgi)) { /* bc.ptr and dbgi go together. so free bc.ptr if dbgi allocation fails */ @@ -874,8 +874,6 @@ int hcl_ignite (hcl_t* hcl, hcl_oow_t heapsize) return 0; } - - int hcl_getsyncodebyoocs_noseterr (hcl_t* hcl, const hcl_oocs_t* name) { hcl_oow_t i;