summaryrefslogtreecommitdiffstats
path: root/subsurface-core/configuredivecomputerthreads.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-06 19:38:17 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 11:00:27 -0800
commit2745beca5fd75e073023806189f4fd00774646e2 (patch)
tree9e7c7573a3fd7f8f2d7b510634ac8b41b38dab73 /subsurface-core/configuredivecomputerthreads.cpp
parent1e8b0874ab689f004e601b880430bea63ae3345a (diff)
downloadsubsurface-2745beca5fd75e073023806189f4fd00774646e2.tar.gz
Silence warning about unused parameter
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/configuredivecomputerthreads.cpp')
-rw-r--r--subsurface-core/configuredivecomputerthreads.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/configuredivecomputerthreads.cpp b/subsurface-core/configuredivecomputerthreads.cpp
index 0b6487c96..27074c9dc 100644
--- a/subsurface-core/configuredivecomputerthreads.cpp
+++ b/subsurface-core/configuredivecomputerthreads.cpp
@@ -1629,6 +1629,8 @@ void DeviceThread::progressCB(int percent)
void DeviceThread::event_cb(dc_device_t *device, dc_event_type_t event, const void *data, void *userdata)
{
+ Q_UNUSED(device);
+
const dc_event_progress_t *progress = (dc_event_progress_t *) data;
DeviceThread *dt = static_cast<DeviceThread*>(userdata);