aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-05-13 01:34:38 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-05-13 01:36:46 +0200
commit22db3f2c773a1277310e760e86b6f3ea7e60f522 (patch)
tree833f94cc6809e88ffd5266dc7544af7429a13ba5 /src/bitcoinrpc.cpp
parenta6cd0b08f6ef2af86fdff01154fe647e40b95424 (diff)
Fix warning about uninitialized value
Only reported when using -flto.
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp2
1 files changed, 1 insertions, 1 deletions
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<char>& stream, map<string, string>& mapHeadersRe
strMessageRet = "";
// Read status
- int nProto;
+ int nProto = 0;
int nStatus = ReadHTTPStatus(stream, nProto);
// Read header