Skip to content

Commit 7ebc65b

Browse files
committed
igzip: fix build on FreeBSD
Fix build warnings on FreeBSD, due to unused value. Signed-off-by: Pablo de Lara <[email protected]>
1 parent 47b2c5a commit 7ebc65b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

igzip/adler32_perf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ int
5656
main(int argc, char *argv[])
5757
{
5858
void *buf;
59-
uint32_t checksum = 0;
6059
struct perf start;
6160

6261
printf("adler32_perf:\n");
@@ -67,7 +66,7 @@ main(int argc, char *argv[])
6766
}
6867
memset(buf, 0, TEST_LEN);
6968

70-
BENCHMARK(&start, BENCHMARK_TIME, checksum |= isal_adler32(TEST_SEED, buf, TEST_LEN));
69+
BENCHMARK(&start, BENCHMARK_TIME, isal_adler32(TEST_SEED, buf, TEST_LEN));
7170
printf("adler32" TEST_TYPE_STR ": ");
7271
perf_print(start, (long long) TEST_LEN);
7372

0 commit comments

Comments
 (0)