mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 836303: Remove unused fields from TransportTestPeer class, in sctp_unittest.cpp. r=ekr
This commit is contained in:
parent
6a9517cba9
commit
cc93f18b60
@ -67,8 +67,6 @@ class TransportTestPeer : public sigslot::has_slots<> {
|
||||
sent_(0), received_(0),
|
||||
flow_(new TransportFlow()),
|
||||
loopback_(new TransportLayerLoopback()),
|
||||
peer_(nullptr),
|
||||
gathering_complete_(false),
|
||||
sctp_(usrsctp_socket(AF_CONN, SOCK_STREAM, IPPROTO_SCTP, receive_cb, nullptr, 0, nullptr)),
|
||||
timer_(do_CreateInstance(NS_TIMER_CONTRACTID)),
|
||||
periodic_(nullptr) {
|
||||
@ -263,13 +261,10 @@ class TransportTestPeer : public sigslot::has_slots<> {
|
||||
size_t received_;
|
||||
mozilla::RefPtr<TransportFlow> flow_;
|
||||
TransportLayerLoopback *loopback_;
|
||||
TransportTestPeer *peer_;
|
||||
|
||||
struct sockaddr_conn local_addr_;
|
||||
struct sockaddr_conn remote_addr_;
|
||||
bool gathering_complete_;
|
||||
struct socket *sctp_;
|
||||
size_t to_send_;
|
||||
nsCOMPtr<nsITimer> timer_;
|
||||
nsRefPtr<SendPeriodic> periodic_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user