Skip to content

Commit

Permalink
src: remove unused variable in class InspectorSocketServer
Browse files Browse the repository at this point in the history
PR-URL: #26633
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
  • Loading branch information
gengjiawen authored and targos committed Mar 27, 2019
1 parent e39a468 commit 2d2b6a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/inspector_socket_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,11 @@ class InspectorSocketServer {
const std::string &formatted_address);
bool TargetExists(const std::string& id);

enum class ServerState {kNew, kRunning, kStopping, kStopped};
enum class ServerState {kNew, kRunning, kStopped};
uv_loop_t* loop_;
std::unique_ptr<SocketServerDelegate> delegate_;
const std::string host_;
int port_;
std::string path_;
std::vector<ServerSocketPtr> server_sockets_;
std::map<int, std::pair<std::string, std::unique_ptr<SocketSession>>>
connected_sessions_;
Expand Down

0 comments on commit 2d2b6a8

Please sign in to comment.