From 0a585aad71499560d4221818bf36b25b655a4585 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Mar 2016 19:07:42 -0800 Subject: Silence warnings in qtserialbluetooth.cpp Signed-off-by: Dirk Hohndel --- subsurface-core/qtserialbluetooth.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3-70-g09d2