Skip to content

Commit 0f3d345

Browse files
committed
Remove unused parameter criteria
1 parent cdb7e52 commit 0f3d345

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/cbmc/bmc.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,7 @@ safety_checkert::resultt bmct::execute(
382382

383383
if(!options.get_list_option("cover").empty())
384384
{
385-
const optionst::value_listt criteria=
386-
options.get_list_option("cover");
387-
return cover(goto_functions, criteria)?
385+
return cover(goto_functions)?
388386
safety_checkert::resultt::ERROR:safety_checkert::resultt::SAFE;
389387
}
390388

src/cbmc/bmc.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,7 @@ class bmct:public safety_checkert
223223
void slice();
224224
void show();
225225

226-
bool cover(
227-
const goto_functionst &goto_functions,
228-
const optionst::value_listt &criteria);
226+
bool cover(const goto_functionst &goto_functions);
229227

230228
friend class bmc_all_propertiest;
231229
friend class bmc_covert;

src/cbmc/bmc_cover.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,7 @@ bool bmc_covert::operator()()
426426
}
427427

428428
/// Try to cover all goals
429-
bool bmct::cover(
430-
const goto_functionst &goto_functions,
431-
const optionst::value_listt &criteria)
429+
bool bmct::cover(const goto_functionst &goto_functions)
432430
{
433431
bmc_covert bmc_cover(goto_functions, *this);
434432
bmc_cover.set_message_handler(get_message_handler());

0 commit comments

Comments
 (0)