mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
test_stasis: Avoid always true warning with clang.
ASTERISK-28808 Change-Id: I5e76831373532d7b8065d024e66cd1fb75dedd80
This commit is contained in:
committed by
Friendly Automation
parent
1e6b10c137
commit
7039b764e4
@@ -2201,7 +2201,7 @@ static void dump_consumer(struct ast_test *test, struct cts *cts)
|
|||||||
data = stasis_message_data(cts->consumer->messages_rxed[i]);
|
data = stasis_message_data(cts->consumer->messages_rxed[i]);
|
||||||
ast_test_status_update(test, "Message type received: %s %s\n",
|
ast_test_status_update(test, "Message type received: %s %s\n",
|
||||||
stasis_message_type_name(stasis_message_type(cts->consumer->messages_rxed[i])),
|
stasis_message_type_name(stasis_message_type(cts->consumer->messages_rxed[i])),
|
||||||
data && data->description ? data->description : "no data");
|
data && !ast_strlen_zero(data->description) ? data->description : "no data");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user