Remove incorrect assert.

This commit is contained in:
Jonathan Naylor 2016-10-17 21:05:40 +01:00
parent 3b98f7b7f7
commit 47fac16a70

View file

@ -36,8 +36,6 @@ m_poll(NULL),
m_unlink(NULL),
m_buffer(1000U, "YSF Network Buffer")
{
assert(port > 0U);
m_poll = new unsigned char[14U];
::memcpy(m_poll + 0U, "YSFP", 4U);
@ -62,8 +60,6 @@ m_poll(NULL),
m_unlink(NULL),
m_buffer(1000U, "YSF Network Buffer")
{
assert(port > 0U);
m_poll = new unsigned char[14U];
::memcpy(m_poll + 0U, "YSFP", 4U);