diff options
| author | George Marques | 2017-06-07 12:54:21 -0300 |
|---|---|---|
| committer | George Marques | 2017-06-07 12:59:42 -0300 |
| commit | b2f8a365f290c17b96cd517afa8f327372c29110 (patch) | |
| tree | b7128508c69d1eaee34046b256a01969e7897b7d /drivers/unix/ip_unix.cpp | |
| parent | 477c770181640b293285fa2f2c4a1d1cfde67394 (diff) | |
| download | godot-b2f8a365f290c17b96cd517afa8f327372c29110.tar.gz godot-b2f8a365f290c17b96cd517afa8f327372c29110.tar.zst godot-b2f8a365f290c17b96cd517afa8f327372c29110.zip | |
Diffstat (limited to 'drivers/unix/ip_unix.cpp')
| -rw-r--r-- | drivers/unix/ip_unix.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index feb1809fc..d2a1b29ea 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -137,8 +137,6 @@ void IP_Unix::get_local_addresses(List<IP_Address> *r_addresses) const { } } - auto hostnames = NetworkInformation::GetHostNames(); - for (int i = 0; i < hostnames->Size; i++) { if (hostnames->GetAt(i)->Type == HostNameType::Ipv4 || hostnames->GetAt(i)->Type == HostNameType::Ipv6 && hostnames->GetAt(i)->IPInformation != nullptr) { |
