Skip to content

Remove unused parameter criteria #2465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2018
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
4 changes: 1 addition & 3 deletions src/cbmc/bmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,7 @@ safety_checkert::resultt bmct::execute(

if(!options.get_list_option("cover").empty())
{
const optionst::value_listt criteria=
options.get_list_option("cover");
return cover(goto_functions, criteria)?
return cover(goto_functions)?
safety_checkert::resultt::ERROR:safety_checkert::resultt::SAFE;
}

Expand Down
4 changes: 1 addition & 3 deletions src/cbmc/bmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ class bmct:public safety_checkert
void slice();
void show();

bool cover(
const goto_functionst &goto_functions,
const optionst::value_listt &criteria);
bool cover(const goto_functionst &goto_functions);

friend class bmc_all_propertiest;
friend class bmc_covert;
Expand Down
4 changes: 1 addition & 3 deletions src/cbmc/bmc_cover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,7 @@ bool bmc_covert::operator()()
}

/// Try to cover all goals
bool bmct::cover(
const goto_functionst &goto_functions,
const optionst::value_listt &criteria)
bool bmct::cover(const goto_functionst &goto_functions)
{
bmc_covert bmc_cover(goto_functions, *this);
bmc_cover.set_message_handler(get_message_handler());
Expand Down