diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-13 01:34:38 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-13 01:36:46 +0200 |
commit | 22db3f2c773a1277310e760e86b6f3ea7e60f522 (patch) | |
tree | 833f94cc6809e88ffd5266dc7544af7429a13ba5 | |
parent | a6cd0b08f6ef2af86fdff01154fe647e40b95424 (diff) | |
download | bitcoin-22db3f2c773a1277310e760e86b6f3ea7e60f522.tar.xz |
Fix warning about uninitialized value
Only reported when using -flto.
-rw-r--r-- | src/bitcoinrpc.cpp | 2 |
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 |