Skip to content

Commit 801634a

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused private from folly/io/async/test/AsyncUDPSocketSendmmsgTest.cpp
Summary: `-Wunused-private-field` has identified an unused private field. This diff removes it. If the code compiles, this is safe to land. Reviewed By: dtolnay Differential Revision: D70933471 fbshipit-source-id: 553f8550b15b00d7d1562e71609717ba6b930222
1 parent 84f25ee commit 801634a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

folly/io/async/test/AsyncUDPSocketSendmmsgTest.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ struct TestData {
9090

9191
class UDPAcceptor : public AsyncUDPServerSocket::Callback {
9292
public:
93-
UDPAcceptor(EventBase* evb) : evb_(evb) {}
93+
UDPAcceptor(EventBase* /* evb */) {}
9494

9595
void onListenStarted() noexcept override {}
9696

@@ -105,9 +105,6 @@ class UDPAcceptor : public AsyncUDPServerSocket::Callback {
105105
// send pong
106106
socket->write(client, data->clone());
107107
}
108-
109-
private:
110-
EventBase* const evb_{nullptr};
111108
};
112109

113110
class UDPServer {

0 commit comments

Comments
 (0)