From a2ab47b7aa56c2155aaf9d684e5fa5c9a0b784c0 Mon Sep 17 00:00:00 2001 From: Nathan Giddings Date: Fri, 3 Mar 2023 03:46:20 -0600 Subject: [PATCH] Fixed warnings in `uncache` and `store_cache` --- src/bitmap_alloc.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bitmap_alloc.c b/src/bitmap_alloc.c index b29fa91..9c102c7 100644 --- a/src/bitmap_alloc.c +++ b/src/bitmap_alloc.c @@ -171,10 +171,6 @@ static inline void store_cache(bitmap_heap_descriptor_t *heap, int index) heap->cache[level] = index; } } - else - { - return 0; - } } /* @@ -191,10 +187,6 @@ static inline void uncache(bitmap_heap_descriptor_t *heap, int index) heap->cache[level] = 0; } } - else - { - return 0; - } } /*