diff --git a/src/compressor.h b/src/compressor.h index 5d1ca0918e..9a4cf78f6c 100644 --- a/src/compressor.h +++ b/src/compressor.h @@ -125,7 +125,7 @@ public: READWRITE(txout.nValue); } } else { - uint8_t type; + uint8_t type = 0; READWRITE(type); if (type == 0) { uint64_t nVal = 0;