From 60a3e3eb3fa280880a9bece53946cdc3d7fbf8db Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Wed, 11 Oct 2023 12:11:48 -0500 Subject: [PATCH] Fix: warning: lambda capture 'return_failure_traces' is not used --- plugins/producer_plugin/test/test_disallow_delayed_trx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp b/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp index 7189fb4e1a..3723970ffc 100644 --- a/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp +++ b/plugins/producer_plugin/test/test_disallow_delayed_trx.cpp @@ -82,7 +82,7 @@ BOOST_AUTO_TEST_CASE(delayed_trx) { false, transaction_metadata::trx_type::input, return_failure_traces, - [ptrx, return_failure_traces] (const next_function_variant& result) { + [ptrx] (const next_function_variant& result) { elog( "trace with except ${e}", ("e", fc::json::to_pretty_string( *std::get( result ) )) ); } ),