tx_pool: initialize bitflags padding since it gets written to storage

Avoids valgrind reporting uninitialized data usage
This commit is contained in:
moneromooo-monero 2018-06-05 19:59:45 +01:00
parent 8a7b3ff138
commit d81e042306
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 3 additions and 0 deletions

View file

@ -148,6 +148,7 @@ struct txpool_tx_meta_t
uint8_t relayed;
uint8_t do_not_relay;
uint8_t double_spend_seen: 1;
uint8_t bf_padding: 7;
uint8_t padding[76]; // till 192 bytes
};