diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-26 07:56:48 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-26 07:57:00 +0100 |
commit | 03b6a1cee4fe7f38ca16c0bc2d08d8d4d1288f2f (patch) | |
tree | bb7385f33bb7b9c842daae2a79283df65f0715d5 | |
parent | 4c3e24644d3a873b11517d90f7d3f0a327a45bb7 (diff) | |
parent | 106f133de6bdb577c4135847fd703d08f525ba46 (diff) |
Merge pull request #3316
106f133 Fix uninitialized variable added in b33b9a6fe (theuni)
-rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index cf803ae25e..1d3ac1cdbb 100644 --- a/src/main.h +++ b/src/main.h @@ -937,7 +937,7 @@ private: unsigned char chRejectCode; bool corruptionPossible; public: - CValidationState() : mode(MODE_VALID), nDoS(0) {} + CValidationState() : mode(MODE_VALID), nDoS(0), corruptionPossible(false) {} bool DoS(int level, bool ret = false, unsigned char chRejectCodeIn=0, std::string strRejectReasonIn="", bool corruptionIn=false) { |