diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index 9ced3fc7b..d84e18c14 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -1292,9 +1292,6 @@ namespace libtorrent // the specific low level operation that failed. See op_t. int operation; - // the port attempted to be opened for listening - int port; - // the type of listen socket this alert refers to. socket_type_t sock_type; diff --git a/src/alert.cpp b/src/alert.cpp index 5add43b12..4bd7bc9ed 100644 --- a/src/alert.cpp +++ b/src/alert.cpp @@ -804,7 +804,6 @@ namespace libtorrent { , socket_type_t t) : error(ec) , operation(op) - , port(prt) , sock_type(t) , endpoint(parse_interface(iface, prt)) , m_alloc(alloc)