From 1d68f6665ede226a42e5609a4e759fc766e61a06 Mon Sep 17 00:00:00 2001 From: ToyB-Chan Date: Sat, 13 Jun 2026 07:23:28 +0200 Subject: [PATCH] shadowing --- minimal_heap_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal_heap_test.cpp b/minimal_heap_test.cpp index 6040a5d..da7ed1e 100644 --- a/minimal_heap_test.cpp +++ b/minimal_heap_test.cpp @@ -54,7 +54,7 @@ void BootstrapHeap() MIHP_Heap tmpHeap = { 0 }; MIHP_InitializeHeap(&tmpHeap, config); - MIHP_Heap* bootstrappedHeap = (MIHP_Heap*)MIHP_Allocate(&tmpHeap, sizeof(MIHP_Heap)); + bootstrappedHeap = (MIHP_Heap*)MIHP_Allocate(&tmpHeap, sizeof(MIHP_Heap)); memset(bootstrappedHeap, 0, sizeof(MIHP_Heap)); MIHP_InitializeHeap(bootstrappedHeap, config);