cid#365219 silence Explicit null dereferenced
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I534f49e2ebe34e4518e7456ba200af9d76535832pull/7614/head
parent
1385b0d086
commit
8a6b40200f
|
@ -338,12 +338,15 @@ void TileQueueTests::testSenderQueueProgress()
|
|||
LOK_ASSERT_EQUAL(static_cast<size_t>(3), queue.size());
|
||||
|
||||
LOK_ASSERT_EQUAL_STR(true, queue.dequeue(item));
|
||||
LOK_ASSERT(item);
|
||||
LOK_ASSERT_EQUAL(messages[0], msgStr(item));
|
||||
|
||||
LOK_ASSERT_EQUAL_STR(true, queue.dequeue(item));
|
||||
LOK_ASSERT(item);
|
||||
LOK_ASSERT_EQUAL(messages[3], msgStr(item));
|
||||
|
||||
LOK_ASSERT_EQUAL_STR(true, queue.dequeue(item));
|
||||
LOK_ASSERT(item);
|
||||
LOK_ASSERT_EQUAL(messages[4], msgStr(item));
|
||||
|
||||
LOK_ASSERT_EQUAL(static_cast<size_t>(0), queue.size());
|
||||
|
|
Loading…
Reference in New Issue