Suppressing unused variable warning for static that we only look at from a debugger.

This commit is contained in:
Richard Brooksby 2023-02-21 16:17:51 +00:00
parent b331e68916
commit 4f69099fa6

View file

@ -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);