From 39526453181babac2ba2ef3d09a406f2b7ff0305 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 31 Mar 2021 12:12:49 -0400 Subject: [PATCH] avoid unused variable for some configurations --- h_malloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/h_malloc.c b/h_malloc.c index 47fa739..4b7552d 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -112,7 +112,9 @@ static const size_t MAX_SLAB_SIZE_CLASS = 131072; static const size_t max_empty_slabs_total = MAX_SLAB_SIZE_CLASS; #endif +#if SLAB_QUARANTINE && CONFIG_EXTENDED_SIZE_CLASSES static const size_t min_extended_size_class = 20480; +#endif static const u32 size_classes[] = { /* 0 */ 0,