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:
parent
2488b48f50
commit
7cb6e71fae
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user