From 4a78e1d486a7c0240c251e49be59b161e774be77 Mon Sep 17 00:00:00 2001 From: Sherry Yuan Date: Tue, 8 Feb 2022 11:12:53 -0800 Subject: [PATCH] Remove unused variable to avoid compiler warning --- lib/acl_threadsupport/test/acl_threadsupport_test.cpp | 1 - test/acl_mem_test.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/acl_threadsupport/test/acl_threadsupport_test.cpp b/lib/acl_threadsupport/test/acl_threadsupport_test.cpp index 39ef9de9..043b0519 100644 --- a/lib/acl_threadsupport/test/acl_threadsupport_test.cpp +++ b/lib/acl_threadsupport/test/acl_threadsupport_test.cpp @@ -442,7 +442,6 @@ TEST(condvar, wait_signal_with_timeout) { struct acl_condvar_s cc; acl_init_condvar(&cc); - int timedout = 0; acl_acquire_condvar(&cc); CHECK_EQUAL(1, acl_timed_wait_condvar(&cc, 1)); CHECK_EQUAL(1, cc.timedout[0]); diff --git a/test/acl_mem_test.cpp b/test/acl_mem_test.cpp index d9df11e7..31e3e0b8 100644 --- a/test/acl_mem_test.cpp +++ b/test/acl_mem_test.cpp @@ -2809,7 +2809,6 @@ TEST(acl_mem, buffer_location_property) { size_t total_size = ACL_RANGE_SIZE( m_device[0]->def.autodiscovery_def.global_mem_defs[0].range); size_t bank_size = total_size / 2; - size_t small_size = bank_size / 1024; cl_mem_properties_intel props[] = {CL_MEM_ALLOC_BUFFER_LOCATION_INTEL, 0, 0}; a = clCreateBufferWithPropertiesINTEL(m_context, props, 0, bank_size, 0,