Fix release mode build failures

Fixed mxb_assert_message and one dcb_printf failure.
This commit is contained in:
Markus Mäkelä
2019-06-12 11:13:28 +03:00
parent a0fcf67993
commit 7470a58a32
3 changed files with 3 additions and 3 deletions

View File

@ -1598,7 +1598,7 @@ void dprintDCB(DCB* pdcb, DCB* dcb)
if (dcb->server)
{
string statusname = dcb->server->status_string();
if (!statusname.c_str())
if (!statusname.empty())
{
dcb_printf(pdcb, "\tServer status: %s\n", statusname.c_str());
}