From 4f69099fa6e503ebe4b8ee88ca04422bce887670 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 21 Feb 2023 16:17:51 +0000 Subject: [PATCH] Suppressing unused variable warning for static that we only look at from a debugger. --- mps/code/amcss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mps/code/amcss.c b/mps/code/amcss.c index f0b477ecb5f..5f7ed999013 100644 --- a/mps/code/amcss.c +++ b/mps/code/amcss.c @@ -101,6 +101,7 @@ static mps_addr_t make(size_t rootsCount) mps_addr_t p; mps_res_t res; ++ calls; + (void)calls; /* suppress unused warning: we want to look at this from debugger */ do { MPS_RESERVE_BLOCK(res, p, ap, size);