]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Not sure how that got there...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Aug 2021 22:14:15 +0000 (17:14 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Aug 2021 22:14:15 +0000 (17:14 -0500)
src/lib/util/heap.c

index 132001e16a4c796013beffc97edc42d953459128..494c3867ec948e8bd4dbc42bb79706ac8aa189a2 100644 (file)
@@ -341,8 +341,6 @@ unsigned int fr_heap_num_elements(fr_heap_t *hp)
 {
        heap_t *h = *hp;
 
-       if (h->num_elements == 0) return NULL;
-
        return h->num_elements;
 }