Skip to content

Commit c07a09b

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2476 from tautschnig/vs-cex
Remove unused parameter in counterexample beautification
2 parents 7c1de91 + 4d88b98 commit c07a09b

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/cbmc/bmc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ safety_checkert::resultt bmct::stop_on_fail(prop_convt &prop_conv)
525525
{
526526
if(options.get_bool_option("beautify"))
527527
counterexample_beautificationt()(
528-
dynamic_cast<bv_cbmct &>(prop_conv), equation, ns);
528+
dynamic_cast<bv_cbmct &>(prop_conv), equation);
529529

530530
error_trace();
531531
output_graphml(resultt::UNSAFE);

src/cbmc/counterexample_beautification.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ counterexample_beautificationt::get_failed_property(
8080

8181
void counterexample_beautificationt::operator()(
8282
bv_cbmct &bv_cbmc,
83-
const symex_target_equationt &equation,
84-
const namespacet &ns)
83+
const symex_target_equationt &equation)
8584
{
8685
// find failed property
8786

src/cbmc/counterexample_beautification.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ class counterexample_beautificationt
2929

3030
void operator()(
3131
bv_cbmct &bv_cbmc,
32-
const symex_target_equationt &equation,
33-
const namespacet &ns);
32+
const symex_target_equationt &equation);
3433

3534
protected:
3635
void get_minimization_list(

src/cbmc/fault_localization.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ safety_checkert::resultt fault_localizationt::stop_on_fail()
281281
{
282282
if(options.get_bool_option("beautify"))
283283
counterexample_beautificationt()(
284-
dynamic_cast<bv_cbmct &>(bmc.prop_conv), bmc.equation, bmc.ns);
284+
dynamic_cast<bv_cbmct &>(bmc.prop_conv), bmc.equation);
285285

286286
bmc.error_trace();
287287
}

0 commit comments

Comments
 (0)