mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Delete unneeded asserts
This commit is contained in:
parent
23738d97f6
commit
d4e2b5f77e
3 changed files with 0 additions and 9 deletions
|
|
@ -51,7 +51,6 @@ m_serial(port, SERIAL_9600),
|
|||
m_brightness(brightness),
|
||||
m_mode(MODE_IDLE)
|
||||
{
|
||||
assert(callsign.c_str() != NULL);
|
||||
assert(brightness >= 0U && brightness <= 100U);
|
||||
}
|
||||
|
||||
|
|
@ -190,8 +189,6 @@ void CTFTSerial::clearDStar()
|
|||
|
||||
void CTFTSerial::writeDMR(unsigned int slotNo, const std::string& src, bool group, const std::string& dst, const char* type)
|
||||
{
|
||||
assert(src.c_str() != NULL);
|
||||
assert(dst.c_str() != NULL);
|
||||
assert(type != NULL);
|
||||
|
||||
if (m_mode != MODE_DMR) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue