summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2021-10-10 11:58:19 -0700
committermichael-grunder <michael.grunder@gmail.com>2021-10-10 11:58:19 -0700
commitfa900ef76fbdc9f2bcec0d2cd507000dce9d8d03 (patch)
treed6fa5e32a7802103aab7b60f5c39a22fb1ab25f5
parente489846b7226958718ae91fa0c4999b420c706e2 (diff)
Fix unused variable warning.
-rw-r--r--test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.c b/test.c
index 91feaed..78290a2 100644
--- a/test.c
+++ b/test.c
@@ -768,6 +768,8 @@ static void *hi_calloc_fail(size_t nmemb, size_t size) {
}
static void *hi_calloc_insecure(size_t nmemb, size_t size) {
+ (void)nmemb;
+ (void)size;
insecure_calloc_calls++;
return (void*)0xdeadc0de;
}