diff --git a/ground/src/plugins/serialconnection/serialplugin.cpp b/ground/src/plugins/serialconnection/serialplugin.cpp index 6f57c6ba3..016598d15 100644 --- a/ground/src/plugins/serialconnection/serialplugin.cpp +++ b/ground/src/plugins/serialconnection/serialplugin.cpp @@ -103,6 +103,7 @@ QIODevice *SerialConnection::openDevice(const QString &deviceName) void SerialConnection::closeDevice(const QString &deviceName) { + Q_UNUSED(deviceName); //we have to delete the serial connection we created if (serialHandle){ serialHandle->close ();