test_stasis: Avoid always true warning with clang.

ASTERISK-28808

Change-Id: I5e76831373532d7b8065d024e66cd1fb75dedd80
changes/16/14116/2
traud 6 years ago committed by Friendly Automation
parent 42989a285b
commit 55dacdce56

@ -2202,7 +2202,7 @@ static void dump_consumer(struct ast_test *test, struct cts *cts)
data = stasis_message_data(cts->consumer->messages_rxed[i]);
ast_test_status_update(test, "Message type received: %s %s\n",
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");
}
}

Loading…
Cancel
Save