mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix some Wunused-but-set warnings (#1666)
To the best of my understanding, these occurrences of the `-Wunused-but-set` warnings do not reveal any underlying issues, so we can safely remove these variables. There are more occurrences of this warning in other places (not touched by this commit) that require further analysis. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
8e74722a0a
commit
a70fa56003
@@ -422,7 +422,6 @@ int test_event_wait_for_array(cl_device_id deviceID, cl_context context,
|
||||
int test_event_flush(cl_device_id deviceID, cl_context context,
|
||||
cl_command_queue queue, int num_elements)
|
||||
{
|
||||
int loopCount = 0;
|
||||
cl_int status;
|
||||
SETUP_EVENT(context, queue);
|
||||
|
||||
@@ -445,7 +444,6 @@ int test_event_flush(cl_device_id deviceID, cl_context context,
|
||||
#else // _WIN32
|
||||
Sleep(1000);
|
||||
#endif
|
||||
++loopCount;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user