mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
034f9a6ca2
commit
a312e53f0c
7 changed files with 13 additions and 33 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue