From 7cb6e71fae29e5eda8491e6c049bc66164c8eee6 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Tue, 11 Sep 2012 10:21:01 -0500 Subject: [PATCH] Remove a Q_UNUSED where the parameter doesn't exist. --- .../src/plugins/ipconnection/ipconnectionplugin.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionplugin.cpp b/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionplugin.cpp index a11468015..c4d95ec4b 100644 --- a/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionplugin.cpp +++ b/ground/openpilotgcs/src/plugins/ipconnection/ipconnectionplugin.cpp @@ -176,8 +176,6 @@ QList IPconnectionConnection::availableDevices() QIODevice *IPconnectionConnection::openDevice(const QString &) { - Q_UNUSED(deviceName); - QString HostName; int Port; bool UseTCP; @@ -212,8 +210,6 @@ QIODevice *IPconnectionConnection::openDevice(const QString &) void IPconnectionConnection::closeDevice(const QString &) { - Q_UNUSED(deviceName); - if (ipSocket){ ipConMutex.lock(); emit CloseSocket(ipSocket);