mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
mem: 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
7ebc65baa7
commit
4e898eced6
@ -39,7 +39,6 @@
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int val = 0;
|
||||
void *buf;
|
||||
struct perf start;
|
||||
|
||||
@ -51,7 +50,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
memset(buf, 0, TEST_LEN);
|
||||
BENCHMARK(&start, BENCHMARK_TIME, val |= isal_zero_detect(buf, TEST_LEN));
|
||||
BENCHMARK(&start, BENCHMARK_TIME, isal_zero_detect(buf, TEST_LEN));
|
||||
|
||||
printf("mem_zero_detect_perf" TEST_TYPE_STR ": ");
|
||||
perf_print(start, (long long) TEST_LEN);
|
||||
|
Loading…
Reference in New Issue
Block a user