From: Arran Cudbard-Bell Date: Wed, 18 Aug 2021 22:14:15 +0000 (-0500) Subject: Not sure how that got there... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c5b6846a2e03d478ae65bd583990be2c54f8d0e;p=thirdparty%2Ffreeradius-server.git Not sure how that got there... --- diff --git a/src/lib/util/heap.c b/src/lib/util/heap.c index 132001e16a4..494c3867ec9 100644 --- a/src/lib/util/heap.c +++ b/src/lib/util/heap.c @@ -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; }