git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove msvc warnings.
[novacoin.git]
/
src
/
script.h
diff --git
a/src/script.h
b/src/script.h
index
157f41f
..
dfd2c19
100644
(file)
--- a/
src/script.h
+++ b/
src/script.h
@@
-447,7
+447,7
@@
public:
// Immediate operand
if (opcode <= OP_PUSHDATA4)
{
- uint32_t nSize;
+ uint32_t nSize = OP_0;
if (opcode < OP_PUSHDATA1)
{
nSize = opcode;
@@
-462,7
+462,6
@@
public:
{
if (end() - pc < 2)
return false;
- nSize = 0;
memcpy(&nSize, &pc[0], 2);
pc += 2;
}