summaryrefslogtreecommitdiffstats
path: root/core/qtserialbluetooth.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 21:05:26 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-24 08:34:14 -0700
commit12b4f2235ba3c1443835be3d3bba1fe608593980 (patch)
tree1e15f220a973740f541a86af3978745ad059ee39 /core/qtserialbluetooth.cpp
parent99acff1b051994cf10c165dd199ee7da7f36cba2 (diff)
downloadsubsurface-12b4f2235ba3c1443835be3d3bba1fe608593980.tar.gz
core: replace (void) with no parameter name
Unused parameters in C++ are "silenced" by removing the name. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/qtserialbluetooth.cpp')
-rw-r--r--core/qtserialbluetooth.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/qtserialbluetooth.cpp b/core/qtserialbluetooth.cpp
index 962602b42..71a76187f 100644
--- a/core/qtserialbluetooth.cpp
+++ b/core/qtserialbluetooth.cpp
@@ -327,11 +327,10 @@ static dc_status_t qt_serial_write(void *io, const void* data, size_t size, size
return DC_STATUS_SUCCESS;
}
-static dc_status_t qt_serial_purge(void *io, dc_direction_t queue)
+static dc_status_t qt_serial_purge(void *io, dc_direction_t)
{
qt_serial_t *device = (qt_serial_t*) io;
- (void)queue;
if (device == NULL)
return DC_STATUS_INVALIDARGS;
#if !defined(Q_OS_WIN)