Silence warning about unused parameter

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-03-06 19:38:17 -03:00 committed by Dirk Hohndel
parent 1e8b0874ab
commit 2745beca5f
2 changed files with 3 additions and 1 deletions

View file

@ -75,7 +75,7 @@ void CloudStorageAuthenticate::uploadFinished()
emit finishedAuthenticate(); emit finishedAuthenticate();
} }
void CloudStorageAuthenticate::uploadError(QNetworkReply::NetworkError error) void CloudStorageAuthenticate::uploadError(QNetworkReply::NetworkError)
{ {
qDebug() << "Received error response from cloud storage backend:" << reply->errorString(); qDebug() << "Received error response from cloud storage backend:" << reply->errorString();
} }

View file

@ -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) 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; const dc_event_progress_t *progress = (dc_event_progress_t *) data;
DeviceThread *dt = static_cast<DeviceThread*>(userdata); DeviceThread *dt = static_cast<DeviceThread*>(userdata);