diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index df3c190b..e058978e 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -2447,7 +2447,7 @@ int ReadHTTP(std::basic_istream& stream, map& mapHeadersRe strMessageRet = ""; // Read status - int nProto; + int nProto = 0; int nStatus = ReadHTTPStatus(stream, nProto); // Read header