Skip to content

Commit

Permalink
Comment unreferenced formal parameter
Browse files Browse the repository at this point in the history
Fix warning from static analysis tools.
  • Loading branch information
Vladimir Gamalian committed Sep 27, 2015
1 parent a81087e commit 4026575
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/impl/win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
Expand Down Expand Up @@ -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.");
}
Expand Down

0 comments on commit 4026575

Please sign in to comment.