From 9af5d200411adf947fdc1876bc76ce22789dde00 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 14 Sep 2014 22:30:47 +0200 Subject: hide warning --- src/metawatchbletransport.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/metawatchbletransport.cpp b/src/metawatchbletransport.cpp index 16ba88e..9a56893 100644 --- a/src/metawatchbletransport.cpp +++ b/src/metawatchbletransport.cpp @@ -136,6 +136,8 @@ void MetaWatchBLETransport::handleDeviceUpdate(const GatoCharacteristic &charact quint8 type, options; QByteArray payload; + Q_UNUSED(characteristic); + if (decode(value, &type, &options, &payload)) { emit messageReceived(type, options, payload); } else { -- cgit v1.2.3