Index: runtime/bin/socket_macos.cc |
diff --git a/runtime/bin/socket_macos.cc b/runtime/bin/socket_macos.cc |
index 28c9a80786b9cbda5a0b70be956daf72dfb66c91..c1f48ccae7612aadba9c169f51dd3e0db6790e36 100644 |
--- a/runtime/bin/socket_macos.cc |
+++ b/runtime/bin/socket_macos.cc |
@@ -27,13 +27,6 @@ |
namespace dart { |
namespace bin { |
-static void FDUtils::SaveErrorAndClose(intptr_t fd) { |
- int err = errno; |
- VOID_TEMP_FAILURE_RETRY(close(fd)); |
- errno = err; |
-} |
- |
- |
SocketAddress::SocketAddress(struct sockaddr* sa) { |
ASSERT(INET6_ADDRSTRLEN >= INET_ADDRSTRLEN); |
if (!Socket::FormatNumericAddress(*reinterpret_cast<RawAddr*>(sa), as_string_, |