mirror of
https://github.com/ToyB-Chan/minimal-heap.git
synced 2026-07-13 21:51:16 +02:00
shadowing
This commit is contained in:
@@ -54,7 +54,7 @@ void BootstrapHeap()
|
|||||||
MIHP_Heap tmpHeap = { 0 };
|
MIHP_Heap tmpHeap = { 0 };
|
||||||
MIHP_InitializeHeap(&tmpHeap, config);
|
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));
|
memset(bootstrappedHeap, 0, sizeof(MIHP_Heap));
|
||||||
MIHP_InitializeHeap(bootstrappedHeap, config);
|
MIHP_InitializeHeap(bootstrappedHeap, config);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user