Add some missing asserts.

This commit is contained in:
Jonathan Naylor 2016-04-18 19:54:31 +01:00
parent b5a7ed83bf
commit 2e84ab888a
3 changed files with 6 additions and 0 deletions

View file

@ -44,6 +44,7 @@ m_dmr(false)
{
assert(rows > 1U);
assert(cols > 15U);
assert(callsign != NULL);
}
CHD44780::~CHD44780()
@ -212,6 +213,7 @@ void CHD44780::clearDStar()
void CHD44780::writeDMR(unsigned int slotNo, const char* src, bool group, const char* dst, const char* type)
{
assert(src != NULL);
assert(dst != NULL);
assert(type != NULL);
if (!m_dmr) {