From fbcce4a0054ef8c3cb90c245d01c7a440a013732 Mon Sep 17 00:00:00 2001 From: edouard Date: Sun, 14 Nov 2010 15:03:18 +0000 Subject: [PATCH] Remove compile-time warning for serial connection plugin. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2122 ebee16cc-31ac-478f-84a7-5cbb03baadba --- ground/src/plugins/serialconnection/serialplugin.cpp | 1 + 1 file changed, 1 insertion(+) 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 ();