diff options
| author | Pieter Wuille <[email protected]> | 2012-05-13 01:34:38 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-05-13 01:36:46 +0200 |
| commit | 22db3f2c773a1277310e760e86b6f3ea7e60f522 (patch) | |
| tree | 833f94cc6809e88ffd5266dc7544af7429a13ba5 /src/bitcoinrpc.cpp | |
| parent | Partially revert f621326: xCXXFLAGS (diff) | |
| download | discoin-22db3f2c773a1277310e760e86b6f3ea7e60f522.tar.xz discoin-22db3f2c773a1277310e760e86b6f3ea7e60f522.zip | |
Fix warning about uninitialized value
Only reported when using -flto.
Diffstat (limited to 'src/bitcoinrpc.cpp')
| -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 df3c190b3..e058978eb 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 |