summaryrefslogtreecommitdiffstats
path: root/subsurface-core/configuredivecomputerthreads.cpp
diff options
context:
space:
mode:
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);