1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

Remove a Q_UNUSED where the parameter doesn't exist.

This commit is contained in:
James Cotton 2012-09-11 10:21:01 -05:00
parent 2488b48f50
commit 7cb6e71fae

View File

@ -176,8 +176,6 @@ QList <Core::IConnection::device> 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);