Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Two small compiler warning fixes #6888

Merged
merged 1 commit into from
Mar 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1584,8 +1584,6 @@ void producer_plugin_impl::produce_block() {
} );

chain.commit_block();
auto hbt = chain.head_block_time();
//idump((fc::time_point::now() - hbt));

block_state_ptr new_bs = chain.head_block_state();
_producer_watermarks[new_bs->header.producer] = chain.head_block_num();
Expand Down
2 changes: 1 addition & 1 deletion plugins/txn_test_gen_plugin/txn_test_gen_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ void txn_test_gen_plugin::plugin_shutdown() {
try {
my->stop_generation();
}
catch(fc::exception e) {
catch(fc::exception& e) {
}
}

Expand Down