aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-23 13:47:51 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-23 15:37:36 +0000
commitd4f50cb109c45c1f50700cbe2e88ec891eb7d469 (patch)
treed9f69a28fb4500ad985ccc2875836acf88105675 /tests/core_tests/chaingen.h
parenta few minor (but easy) performance tweaks (diff)
downloadmonero-d4f50cb109c45c1f50700cbe2e88ec891eb7d469.tar.xz
remove some unused code
Found by codacy.com
Diffstat (limited to 'tests/core_tests/chaingen.h')
-rw-r--r--tests/core_tests/chaingen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h
index 6b9277a30..b380aca01 100644
--- a/tests/core_tests/chaingen.h
+++ b/tests/core_tests/chaingen.h
@@ -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;