Fix warning about uninitialized value

Only reported when using -flto.
This commit is contained in:
Pieter Wuille 2012-05-13 01:34:38 +02:00
parent a6cd0b08f6
commit 22db3f2c77

View file

@ -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