mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 13:54:08 +02:00
Fix warning about uninitialized value
Only reported when using -flto.
This commit is contained in:
@@ -2447,7 +2447,7 @@ int ReadHTTP(std::basic_istream<char>& stream, map<string, string>& mapHeadersRe
|
||||
strMessageRet = "";
|
||||
|
||||
// Read status
|
||||
int nProto;
|
||||
int nProto = 0;
|
||||
int nStatus = ReadHTTPStatus(stream, nProto);
|
||||
|
||||
// Read header
|
||||
|
Reference in New Issue
Block a user