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: nodejs#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 03e56a1 commit 366bd6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/inspector_socket_server.h
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 366bd6e

Please sign in to comment.