Skip to content

Commit

Permalink
remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kraynyukhov committed Jun 27, 2019
1 parent 2a06c29 commit 94064b4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/ClientWebSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ namespace LAppS

itc::sys::mutex mMutex;

bool noverifycert;
bool noverifyname;

bool tls;
WSClient::State mState;

Expand Down Expand Up @@ -389,9 +386,7 @@ namespace LAppS

explicit ClientWebSocket(const std::string& uri, const bool _noverifycert=false, const bool _noverifyname=false)
: itc::ClientSocket(), cursor{0}, TLSContext(wolfSSLClient::getInstance()->getContext()), TLSSocket{nullptr},
mMutex(), noverifycert{_noverifycert},noverifyname{_noverifyname},
mState{WSClient::State::INIT},
streamProcessor(512)
mMutex(),mState{WSClient::State::INIT},streamProcessor(512)
{
if(std::regex_match(uri,WSURI))
{
Expand Down

0 comments on commit 94064b4

Please # to comment.