remove some unused code

Found by codacy.com
This commit is contained in:
moneromooo-monero 2018-11-23 13:47:51 +00:00
parent 611639710d
commit d4f50cb109
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
14 changed files with 8 additions and 114 deletions

View file

@ -511,7 +511,7 @@ inline bool do_replay_events(std::vector<test_event_entry>& events)
// FIXME: make sure that vm has arg_testnet_on set to true or false if
// this test needs for it to be so.
get_test_options<t_test_class> gto;
if (!c.init(vm, NULL, &gto.test_options))
if (!c.init(vm, &gto.test_options))
{
MERROR("Failed to init core");
return false;

View file

@ -54,9 +54,6 @@ bool test_transaction_generation_and_ring_signature()
account_base miner_acc6;
miner_acc6.generate();
std::string add_str = miner_acc3.get_public_address_str(MAINNET);
account_base rv_acc;
rv_acc.generate();
account_base rv_acc2;