From b344d2ee0f71de37b68649c017abc24eff286e00 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 15 Sep 2022 11:24:50 +0300 Subject: [PATCH] Remove useless memset() --- ir_cfg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ir_cfg.c b/ir_cfg.c index 2a69149..69945a2 100644 --- a/ir_cfg.c +++ b/ir_cfg.c @@ -14,7 +14,6 @@ int ir_build_cfg(ir_ctx *ctx) ir_use_list *use_list; _blocks = ir_mem_calloc(ctx->insns_count, sizeof(uint32_t)); - memset(_blocks, 0, ctx->insns_count * sizeof(uint32_t)); ir_worklist_init(&worklist, ctx->insns_count); /* Add START node */