Skip to content

Commit

Permalink
test: remove unused disposed_ variable
Browse files Browse the repository at this point in the history
Currently building test_inspector_socket.cc generates the following
warning:
../test/cctest/test_inspector_socket.cc:189:8: warning:
private field 'disposed_' is not used [-Wunused-private-field]
  bool disposed_ = false;
       ^

1 warning generated.

This commit removes this variable.

PR-URL: #17628
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
danbev authored and MylesBorins committed Jan 8, 2018
1 parent bf0a7b6 commit 97eaaf9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/cctest/test_inspector_socket.cc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ class TestInspectorDelegate : public InspectorSocket::Delegate {

void process(inspector_handshake_event event, const std::string& path);

bool disposed_ = false;
delegate_fn handshake_delegate_;
InspectorSocket::Pointer socket_;
std::string ws_key_;
Expand Down

0 comments on commit 97eaaf9

Please sign in to comment.