Skip to content

Commit 4330b89

Browse files
committed
command_queue: fix Klocwork issues
1 parent 93cb97a commit 4330b89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/acl_command_queue_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ MT_TEST(acl_command_queue, create) {
173173
// check if acl_command_queue_is_valid is working properly
174174
{
175175
cl_command_queue fake_cq = acl_alloc_cl_command_queue();
176-
CHECK(fake_cq);
176+
assert(fake_cq);
177177
fake_cq->magic = 0xDEADBEEFDEADBEEF;
178178
ACL_LOCKED(CHECK(!acl_command_queue_is_valid(0)));
179179
ACL_LOCKED(CHECK(!acl_command_queue_is_valid(fake_cq)));
@@ -366,7 +366,7 @@ MT_TEST(acl_command_queue, create_with_properties) {
366366
// check if acl_command_queue_is_valid is working properly
367367
{
368368
cl_command_queue fake_cq = acl_alloc_cl_command_queue();
369-
CHECK(fake_cq);
369+
assert(fake_cq);
370370
fake_cq->magic = 0xDEADBEEFDEADBEEF;
371371
ACL_LOCKED(CHECK(!acl_command_queue_is_valid(0)));
372372
ACL_LOCKED(CHECK(!acl_command_queue_is_valid(fake_cq)));

0 commit comments

Comments
 (0)