1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +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 bool
Serial::SerialImpl::waitReadable (uint32_t timeout) Serial::SerialImpl::waitReadable (uint32_t /*timeout*/)
{ {
THROW (IOException, "waitReadable is not implemented on Windows."); THROW (IOException, "waitReadable is not implemented on Windows.");
return false; return false;
} }
void void
Serial::SerialImpl::waitByteTimes (size_t count) Serial::SerialImpl::waitByteTimes (size_t /*count*/)
{ {
THROW (IOException, "waitByteTimes is not implemented on Windows."); THROW (IOException, "waitByteTimes is not implemented on Windows.");
} }
@ -481,7 +481,7 @@ Serial::SerialImpl::flushOutput ()
} }
void void
Serial::SerialImpl::sendBreak (int duration) Serial::SerialImpl::sendBreak (int /*duration*/)
{ {
THROW (IOException, "sendBreak is not supported on Windows."); THROW (IOException, "sendBreak is not supported on Windows.");
} }