Skip to content

Commit d8c50ba

Browse files
sherry-yuanpcolberg
authored andcommitted
Remove unused variable to avoid compiler warning
1 parent 74507c7 commit d8c50ba

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/acl_threadsupport/test/acl_threadsupport_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ TEST(condvar, wait_signal_with_timeout) {
442442
struct acl_condvar_s cc;
443443
acl_init_condvar(&cc);
444444

445-
int timedout = 0;
446445
acl_acquire_condvar(&cc);
447446
CHECK_EQUAL(1, acl_timed_wait_condvar(&cc, 1));
448447
CHECK_EQUAL(1, cc.timedout[0]);

test/acl_mem_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2809,7 +2809,6 @@ TEST(acl_mem, buffer_location_property) {
28092809
size_t total_size = ACL_RANGE_SIZE(
28102810
m_device[0]->def.autodiscovery_def.global_mem_defs[0].range);
28112811
size_t bank_size = total_size / 2;
2812-
size_t small_size = bank_size / 1024;
28132812

28142813
cl_mem_properties_intel props[] = {CL_MEM_ALLOC_BUFFER_LOCATION_INTEL, 0, 0};
28152814
a = clCreateBufferWithPropertiesINTEL(m_context, props, 0, bank_size, 0,

0 commit comments

Comments
 (0)