Fixed some Coverity reports

This commit is contained in:
SChernykh
2021-09-06 09:02:35 +02:00
parent b025056653
commit a36825424b
9 changed files with 25 additions and 9 deletions

View File

@@ -26,7 +26,10 @@ static constexpr char log_category_prefix[] = "JSONRPCRequest ";
namespace p2pool {
JSONRPCRequest::JSONRPCRequest(const char* address, int port, const char* req, CallbackBase* cb)
: m_callback(cb)
: m_socket{}
, m_connect{}
, m_write{}
, m_callback(cb)
, m_contentLength(0)
, m_contentLengthHeader(false)
, m_readBufInUse(false)