mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence warnings in qtserialbluetooth.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ae5c7a55be
commit
0a585aad71
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ static int qt_serial_write(serial_t *device, const void* data, unsigned int size
|
|||
|
||||
static int qt_serial_flush(serial_t *device, int queue)
|
||||
{
|
||||
(void)queue;
|
||||
if (device == NULL)
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
#if !defined(Q_OS_WIN)
|
||||
|
|
Loading…
Add table
Reference in a new issue