Skip to content

Commit

Permalink
initialise "out" variables
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 19, 2024
1 parent 95c4414 commit 50c3e24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/zmaxheap.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ void zmaxheap_test()
}


int32_t outv;
float outfv;
int32_t outv = 0;
float outfv = 0;
int res = zmaxheap_remove_max(heap, &outv, &outfv);
if (sz == 0) {
assert(res == 0);
Expand Down

0 comments on commit 50c3e24

Please sign in to comment.