Fix assertion in PseudoTTY
This commit is contained in:
parent
93a0b9793b
commit
d4c7f20696
|
@ -226,7 +226,6 @@ m_speed(speed),
|
|||
m_assertRTS(assertRTS),
|
||||
m_fd(-1)
|
||||
{
|
||||
assert(!device.empty());
|
||||
}
|
||||
|
||||
CSerialController::~CSerialController()
|
||||
|
@ -235,6 +234,7 @@ CSerialController::~CSerialController()
|
|||
|
||||
bool CSerialController::open()
|
||||
{
|
||||
assert(!m_device.empty());
|
||||
assert(m_fd == -1);
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
|
Loading…
Reference in a new issue