diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-21 17:36:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-21 12:48:04 -0700 |
commit | a312e53f0ce47dd2797070dff37e51fbfafd489a (patch) | |
tree | bb603a4ffafc2dea632a587e6cc5b7cdb91f73ca /core/configuredivecomputerthreads.cpp | |
parent | 034f9a6ca2eabcc4714214ca07207509b00e39a2 (diff) | |
download | subsurface-a312e53f0ce47dd2797070dff37e51fbfafd489a.tar.gz |
core: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/configuredivecomputerthreads.cpp')
-rw-r--r-- | core/configuredivecomputerthreads.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/configuredivecomputerthreads.cpp b/core/configuredivecomputerthreads.cpp index 51a61048e..819aba3bd 100644 --- a/core/configuredivecomputerthreads.cpp +++ b/core/configuredivecomputerthreads.cpp @@ -2097,10 +2097,8 @@ void DeviceThread::progressCB(int percent) emit progress(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 *, 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); |