Skip to content

Commit

Permalink
Fix warnings revealed by clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Bec committed May 24, 2017
1 parent b193103 commit 6970ab6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/client/binary_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ namespace
}
}

ResponseHeader parseMessage(std::size_t &dataSize, NodeId &id)
void parseMessage(std::size_t &dataSize, NodeId &id)
{
std::vector<char> buffer(dataSize);
BufferInputChannel bufferInput(buffer);
Expand Down Expand Up @@ -876,7 +876,6 @@ namespace
}

messageBuffer.insert(messageBuffer.end(), buffer.begin(), buffer.end());
return header;
}
else
{
Expand Down
1 change: 0 additions & 1 deletion src/server/endpoints_registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ namespace

private:
Server::ServicesRegistry::SharedPtr InternalServer;
bool Debug;

std::vector<EndpointDescription> Endpoints;
std::vector<ApplicationDescription> Applications;
Expand Down

0 comments on commit 6970ab6

Please sign in to comment.