mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
void out heap after done asserting, to fix an unused variable compile error I get
This commit is contained in:
parent
4975cce3ac
commit
521c4662bf
1 changed files with 4 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ static bheapitem_t *K_BHeapItemsCompare(bheap_t *heap, bheapitem_t *item1, bheap
|
||||||
I_Assert(K_BHeapItemValidate(heap, item1));
|
I_Assert(K_BHeapItemValidate(heap, item1));
|
||||||
I_Assert(K_BHeapItemValidate(heap, item2));
|
I_Assert(K_BHeapItemValidate(heap, item2));
|
||||||
|
|
||||||
|
(void)heap;
|
||||||
|
|
||||||
if (item1->value < item2->value)
|
if (item1->value < item2->value)
|
||||||
{
|
{
|
||||||
lowervalueitem = item1;
|
lowervalueitem = item1;
|
||||||
|
|
@ -99,6 +101,8 @@ static void K_BHeapSwapItems(bheap_t *heap, bheapitem_t *item1, bheapitem_t *ite
|
||||||
I_Assert(K_BHeapItemValidate(heap, item1));
|
I_Assert(K_BHeapItemValidate(heap, item1));
|
||||||
I_Assert(K_BHeapItemValidate(heap, item2));
|
I_Assert(K_BHeapItemValidate(heap, item2));
|
||||||
|
|
||||||
|
(void)heap;
|
||||||
|
|
||||||
{
|
{
|
||||||
size_t tempitemindex = item1->heapindex;
|
size_t tempitemindex = item1->heapindex;
|
||||||
bheapitem_t tempitemstore = *item1;
|
bheapitem_t tempitemstore = *item1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue