From d8227c4a70c62bb025469cac6987368ca7fe2c2f Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 20 May 2018 12:41:32 +0200 Subject: core: marked unused parameter Add Q_UNUSED to unused parameter Signed-off-by: Jan Iversen --- core/qtserialbluetooth.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') diff --git a/core/qtserialbluetooth.cpp b/core/qtserialbluetooth.cpp index bc274dbd9..8bc5e5803 100644 --- a/core/qtserialbluetooth.cpp +++ b/core/qtserialbluetooth.cpp @@ -43,6 +43,8 @@ typedef struct qt_serial_t { static dc_status_t qt_serial_open(qt_serial_t **io, dc_context_t *context, const char* devaddr) { + Q_UNUSED(context); + // Allocate memory. qt_serial_t *serial_port = (qt_serial_t *) malloc (sizeof (qt_serial_t)); if (serial_port == NULL) { -- cgit v1.2.3-70-g09d2