summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-20 12:41:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-20 08:11:29 -0700
commitd8227c4a70c62bb025469cac6987368ca7fe2c2f (patch)
treed93e930f285100d2f33a555b3d2dd9e63a1ec2d5
parentdce7e46766f5acb8d4723f0b126df120e17051dd (diff)
downloadsubsurface-d8227c4a70c62bb025469cac6987368ca7fe2c2f.tar.gz
core: marked unused parameter
Add Q_UNUSED to unused parameter Signed-off-by: Jan Iversen <jani@apache.org>
-rw-r--r--core/qtserialbluetooth.cpp2
1 files changed, 2 insertions, 0 deletions
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) {