diff --git a/nano/core_test/node.cpp b/nano/core_test/node.cpp index d4ad7f9cc..538296960 100644 --- a/nano/core_test/node.cpp +++ b/nano/core_test/node.cpp @@ -716,7 +716,7 @@ TEST (node_config, required_child) tree.put_child ("logging", logging_l); auto child_l (tree.get_required_child ("logging")); child_l.put ("flush", !logging1.flush); - bool upgraded; + bool upgraded (false); logging2.deserialize_json (upgraded, child_l); ASSERT_NE (logging1.flush, logging2.flush); diff --git a/nano/core_test/rpc.cpp b/nano/core_test/rpc.cpp index e3100d8cd..415dcf944 100644 --- a/nano/core_test/rpc.cpp +++ b/nano/core_test/rpc.cpp @@ -4390,7 +4390,7 @@ TEST (rpc, wallet_history) ASSERT_NE (nullptr, send); std::this_thread::sleep_for (std::chrono::milliseconds (1000)); auto timestamp2 (nano::seconds_since_epoch ()); - auto receive (system.wallet (0)->receive_action (static_cast (*send), nano::test_genesis_key.pub, node0->config.receive_minimum.number ())); + auto receive (system.wallet (0)->receive_action (*send, nano::test_genesis_key.pub, node0->config.receive_minimum.number ())); ASSERT_NE (nullptr, receive); nano::keypair key; std::this_thread::sleep_for (std::chrono::milliseconds (1000));