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 <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • 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.