summaryrefslogtreecommitdiff
path: root/libclapi/cl_enqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'libclapi/cl_enqueue.c')
-rw-r--r--libclapi/cl_enqueue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libclapi/cl_enqueue.c b/libclapi/cl_enqueue.c
index d56b6afa..ef3ada61 100644
--- a/libclapi/cl_enqueue.c
+++ b/libclapi/cl_enqueue.c
@@ -466,7 +466,8 @@ LOCAL cl_int cl_enqueue_wait_for_events(cl_command_queue queue, const cl_event*
if (need_to_wait) {
CL_COND_WAIT(&worker->cond, &worker->mutex);
- } else { // All events are ready, OK now.
+ } else {
+ // All events are ready, OK now.
break;
}
}