Browse Source

UDPLink: Remove unused variable address

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
QGC4.4
Patrick José Pereira 6 years ago
parent
commit
0e35f65023
  1. 1
      src/comm/UDPLink.cc

1
src/comm/UDPLink.cc

@ -55,7 +55,6 @@ static QString get_ip_address(const QString& address) @@ -55,7 +55,6 @@ static QString get_ip_address(const QString& address)
if (info.error() == QHostInfo::NoError)
{
QList<QHostAddress> hostAddresses = info.addresses();
QHostAddress address;
for (int i = 0; i < hostAddresses.size(); i++)
{
// Exclude all IPv6 addresses

Loading…
Cancel
Save