diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-06 19:38:17 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-07 11:00:27 -0800 |
commit | 2745beca5fd75e073023806189f4fd00774646e2 (patch) | |
tree | 9e7c7573a3fd7f8f2d7b510634ac8b41b38dab73 | |
parent | 1e8b0874ab689f004e601b880430bea63ae3345a (diff) | |
download | subsurface-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>
-rw-r--r-- | subsurface-core/cloudstorage.cpp | 2 | ||||
-rw-r--r-- | subsurface-core/configuredivecomputerthreads.cpp | 2 |
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); |