From 2745beca5fd75e073023806189f4fd00774646e2 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 6 Mar 2016 19:38:17 -0300 Subject: Silence warning about unused parameter Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/cloudstorage.cpp | 2 +- subsurface-core/configuredivecomputerthreads.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'subsurface-core') 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(userdata); -- cgit v1.2.3-70-g09d2