diff --git a/common/zmaxheap.c b/common/zmaxheap.c index d4e35e9b..a4d15a22 100644 --- a/common/zmaxheap.c +++ b/common/zmaxheap.c @@ -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);