mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
core: replace (void) with no parameter name
Unused parameters in C++ are "silenced" by removing the name. Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
99acff1b05
commit
12b4f2235b
1 changed files with 1 additions and 2 deletions
|
@ -327,11 +327,10 @@ static dc_status_t qt_serial_write(void *io, const void* data, size_t size, size
|
|||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static dc_status_t qt_serial_purge(void *io, dc_direction_t queue)
|
||||
static dc_status_t qt_serial_purge(void *io, dc_direction_t)
|
||||
{
|
||||
qt_serial_t *device = (qt_serial_t*) io;
|
||||
|
||||
(void)queue;
|
||||
if (device == NULL)
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
#if !defined(Q_OS_WIN)
|
||||
|
|
Loading…
Add table
Reference in a new issue