Merge pull request #3316
106f133
Fix uninitialized variable added inb33b9a6fe
(theuni)
This commit is contained in:
commit
03b6a1cee4
|
@ -937,7 +937,7 @@ private:
|
||||||
unsigned char chRejectCode;
|
unsigned char chRejectCode;
|
||||||
bool corruptionPossible;
|
bool corruptionPossible;
|
||||||
public:
|
public:
|
||||||
CValidationState() : mode(MODE_VALID), nDoS(0) {}
|
CValidationState() : mode(MODE_VALID), nDoS(0), corruptionPossible(false) {}
|
||||||
bool DoS(int level, bool ret = false,
|
bool DoS(int level, bool ret = false,
|
||||||
unsigned char chRejectCodeIn=0, std::string strRejectReasonIn="",
|
unsigned char chRejectCodeIn=0, std::string strRejectReasonIn="",
|
||||||
bool corruptionIn=false) {
|
bool corruptionIn=false) {
|
||||||
|
|
Loading…
Reference in New Issue