From 22db3f2c773a1277310e760e86b6f3ea7e60f522 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sun, 13 May 2012 01:34:38 +0200 Subject: Fix warning about uninitialized value Only reported when using -flto. --- src/bitcoinrpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bitcoinrpc.cpp') diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index df3c190b38..e058978ebf 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 -- cgit v1.2.3