From 402657574c8cde017b4003648e2c1f9d5e9e8b4c Mon Sep 17 00:00:00 2001 From: Vladimir Gamalian Date: Sun, 27 Sep 2015 19:41:56 +0700 Subject: [PATCH] Comment unreferenced formal parameter Fix warning from static analysis tools. --- src/impl/win.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/impl/win.cc b/src/impl/win.cc index 92a5c62..39cc8b2 100644 --- a/src/impl/win.cc +++ b/src/impl/win.cc @@ -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."); }