git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
75faad7
)
CScriptCheck : Add initializers
author
CryptoManiac
<balthazar@yandex.ru>
Mon, 2 May 2016 18:33:29 +0000 (21:33 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Mon, 2 May 2016 18:33:29 +0000 (21:33 +0300)
src/main.h
patch
|
blob
|
history
diff --git
a/src/main.h
b/src/main.h
index
610ce94
..
b8e6cb7
100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-732,10
+732,10
@@
class CScriptCheck
{
private:
CScript scriptPubKey;
- const CTransaction *ptxTo;
- unsigned int nIn;
- unsigned int nFlags;
- int nHashType;
+ const CTransaction *ptxTo = nullptr;
+ unsigned int nIn = 0;
+ unsigned int nFlags = 0;
+ int nHashType = 0;
public:
CScriptCheck() {}