rpc: init a few missing client_info members

Coverity 205414
This commit is contained in:
moneromooo-monero 2019-10-26 08:16:08 +00:00
parent d56a483abe
commit d0faae2a92
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@
namespace cryptonote namespace cryptonote
{ {
rpc_payment::client_info::client_info(): rpc_payment::client_info::client_info():
previous_seed_height(0),
seed_height(0),
previous_seed_hash(crypto::null_hash),
seed_hash(crypto::null_hash),
cookie(0), cookie(0),
top(crypto::null_hash), top(crypto::null_hash),
previous_top(crypto::null_hash), previous_top(crypto::null_hash),