diff options
Diffstat (limited to 'subsurface-core/qtserialbluetooth.cpp')
-rw-r--r-- | subsurface-core/qtserialbluetooth.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/qtserialbluetooth.cpp b/subsurface-core/qtserialbluetooth.cpp index 025ab8c34..6b104157a 100644 --- a/subsurface-core/qtserialbluetooth.cpp +++ b/subsurface-core/qtserialbluetooth.cpp @@ -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) |