aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/cloudstorage.cpp2
-rw-r--r--subsurface-core/configuredivecomputerthreads.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/subsurface-core/cloudstorage.cpp b/subsurface-core/cloudstorage.cpp
index 4f58d0191..575191891 100644
--- a/subsurface-core/cloudstorage.cpp
+++ b/subsurface-core/cloudstorage.cpp
@@ -75,7 +75,7 @@ void CloudStorageAuthenticate::uploadFinished()
emit finishedAuthenticate();
}
-void CloudStorageAuthenticate::uploadError(QNetworkReply::NetworkError error)
+void CloudStorageAuthenticate::uploadError(QNetworkReply::NetworkError)
{
qDebug() << "Received error response from cloud storage backend:" << reply->errorString();
}
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);