igzip: fix build on FreeBSD

Fix build warnings on FreeBSD, due to unused value.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
Pablo de Lara 2024-05-28 12:59:59 +01:00
parent 47b2c5ab15
commit 7ebc65baa7

View File

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