summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reclaim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/reclaim.c b/reclaim.c
index 1da2c932..98bf8ac9 100644
--- a/reclaim.c
+++ b/reclaim.c
@@ -426,6 +426,9 @@ STATIC void GC_reclaim_block(struct hblk *hbp, word report_if_found)
}
# endif
blocks = OBJ_SZ_TO_BLOCKS(sz);
+# if defined(CPPCHECK)
+ GC_noop1((word)&blocks);
+# endif
if (blocks > 1) {
GC_large_allocd_bytes -= blocks * HBLKSIZE;
}