1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-23 04:04:54 +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 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.");
} }