From 7ebc65baa79386152107511e3ec2452f5d82a77a Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Tue, 28 May 2024 12:59:59 +0100 Subject: [PATCH] igzip: fix build on FreeBSD Fix build warnings on FreeBSD, due to unused value. Signed-off-by: Pablo de Lara --- igzip/adler32_perf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/igzip/adler32_perf.c b/igzip/adler32_perf.c index 1cda2b8..b0f9351 100644 --- a/igzip/adler32_perf.c +++ b/igzip/adler32_perf.c @@ -56,7 +56,6 @@ int main(int argc, char *argv[]) { void *buf; - uint32_t checksum = 0; struct perf start; printf("adler32_perf:\n"); @@ -67,7 +66,7 @@ main(int argc, char *argv[]) } memset(buf, 0, TEST_LEN); - BENCHMARK(&start, BENCHMARK_TIME, checksum |= isal_adler32(TEST_SEED, buf, TEST_LEN)); + BENCHMARK(&start, BENCHMARK_TIME, isal_adler32(TEST_SEED, buf, TEST_LEN)); printf("adler32" TEST_TYPE_STR ": "); perf_print(start, (long long) TEST_LEN);