mirror of
https://github.com/intel/isa-l.git
synced 2025-01-05 22:59:52 +01:00
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:
parent
47b2c5ab15
commit
7ebc65baa7
@ -56,7 +56,6 @@ int
|
|||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
void *buf;
|
void *buf;
|
||||||
uint32_t checksum = 0;
|
|
||||||
struct perf start;
|
struct perf start;
|
||||||
|
|
||||||
printf("adler32_perf:\n");
|
printf("adler32_perf:\n");
|
||||||
@ -67,7 +66,7 @@ main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
memset(buf, 0, TEST_LEN);
|
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 ": ");
|
printf("adler32" TEST_TYPE_STR ": ");
|
||||||
perf_print(start, (long long) TEST_LEN);
|
perf_print(start, (long long) TEST_LEN);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user