Fix some clang warnings

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2016-02-21 16:13:53 -08:00
parent efedc02224
commit 5a80c7b581
6 changed files with 20 additions and 20 deletions

View File

@@ -37,6 +37,9 @@ check_wacereq(void)
READ10(sd, &task_ret, 0, block_size, block_size, 0, 0, 0, 0, 0, NULL,
EXPECT_STATUS_GOOD);
CU_ASSERT_PTR_NOT_NULL_FATAL(task_ret);
if (task_ret == NULL) {
return;
}
CU_ASSERT_NOT_EQUAL(task_ret->status, SCSI_STATUS_CANCELLED);
switch (inq_bdc->wabereq) {