1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

Merge pull request #113 from vladimirgamalian/patch-1

Comment unreferenced formal parameters
This commit is contained in:
William Woodall 2015-09-27 14:14:03 -07:00
commit ef7f77d411

View File

@ -315,14 +315,14 @@ Serial::SerialImpl::available ()
}
bool
Serial::SerialImpl::waitReadable (uint32_t timeout)
Serial::SerialImpl::waitReadable (uint32_t /*timeout*/)
{
THROW (IOException, "waitReadable is not implemented on Windows.");
return false;
}
void
Serial::SerialImpl::waitByteTimes (size_t count)
Serial::SerialImpl::waitByteTimes (size_t /*count*/)
{
THROW (IOException, "waitByteTimes is not implemented on Windows.");
}
@ -481,7 +481,7 @@ Serial::SerialImpl::flushOutput ()
}
void
Serial::SerialImpl::sendBreak (int duration)
Serial::SerialImpl::sendBreak (int /*duration*/)
{
THROW (IOException, "sendBreak is not supported on Windows.");
}