Remove useless memset()

This commit is contained in:
Dmitry Stogov 2022-09-15 11:24:50 +03:00
parent 305a581ae6
commit b344d2ee0f

View File

@ -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 */