Fix unused variable warning
This commit is contained in:
parent
874f103b8d
commit
683f1dd7bf
1 changed files with 2 additions and 2 deletions
|
|
@ -224,7 +224,7 @@ void simple_task()
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE( cancel_scheduled_task )
|
BOOST_AUTO_TEST_CASE( cancel_scheduled_task )
|
||||||
{
|
{
|
||||||
bool task_executed = false;
|
//bool task_executed = false;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
simple_task();
|
simple_task();
|
||||||
|
|
@ -238,4 +238,4 @@ BOOST_AUTO_TEST_CASE( cancel_scheduled_task )
|
||||||
wlog( "${e}", ("e",e.to_detail_string() ) );
|
wlog( "${e}", ("e",e.to_detail_string() ) );
|
||||||
}
|
}
|
||||||
BOOST_CHECK_EQUAL(task_execute_count, 2);
|
BOOST_CHECK_EQUAL(task_execute_count, 2);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue