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

Comment unreferenced formal parameter

Fix warning from static analysis tools.
This commit is contained in:
Vladimir Gamalian 2015-09-27 19:41:56 +07:00
parent a81087ec85
commit 402657574c

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.");
}