Skip to content

Commit 89afc6a

Browse files
committed
remove dead code; FlyingSocks not used on Linux
1 parent 04ba412 commit 89afc6a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/SwiftOCA/OCP.1/Backend/Ocp1FlyingSocksConnection.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ fileprivate extension SocketError {
4848
}
4949
}
5050

51-
#if os(Linux)
52-
extension sockaddr_in: SocketAddress {}
53-
extension sockaddr_in6: SocketAddress {}
54-
extension sockaddr_un: SocketAddress {}
55-
#endif
56-
5751
private extension Data {
5852
var socketAddress: any SocketAddress {
5953
try! withUnsafeBytes { unbound -> (any SocketAddress) in

0 commit comments

Comments
 (0)