summaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index ef9f6ab..9ab9983 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -317,8 +317,8 @@ void *varena_realloc(struct varena *varena, void *ptr, size_t old_count, size_t
return NULL;
}
- size_t new_exact_size = varena_exact_size(varena, new_count);
- size_t old_exact_size = varena_exact_size(varena, old_count);
+ _maybe_unused size_t new_exact_size = varena_exact_size(varena, new_count);
+ _maybe_unused size_t old_exact_size = varena_exact_size(varena, old_count);
if (new_arena == old_arena) {
if (new_count < old_count) {