aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-26 07:56:48 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-26 07:57:00 +0100
commit03b6a1cee4fe7f38ca16c0bc2d08d8d4d1288f2f (patch)
treebb7385f33bb7b9c842daae2a79283df65f0715d5
parent4c3e24644d3a873b11517d90f7d3f0a327a45bb7 (diff)
parent106f133de6bdb577c4135847fd703d08f525ba46 (diff)
Merge pull request #3316
106f133 Fix uninitialized variable added in b33b9a6fe (theuni)
-rw-r--r--src/main.h2
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) {