Skip to content

Commit ee16d80

Browse files
committed
Remove unused make_assertions_false
This code was introduced in 35b430a and 76d543b, but it seems to be unused and its purpose is unclear.
1 parent daa7996 commit ee16d80

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/goto-programs/set_properties.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -129,21 +129,3 @@ void label_properties(goto_functionst &goto_functions)
129129
it++)
130130
label_properties(it->second.body, property_counters);
131131
}
132-
133-
void make_assertions_false(goto_modelt &goto_model)
134-
{
135-
make_assertions_false(goto_model.goto_functions);
136-
}
137-
138-
void make_assertions_false(
139-
goto_functionst &goto_functions)
140-
{
141-
for(auto &f : goto_functions.function_map)
142-
{
143-
for(auto &i : f.second.body.instructions)
144-
{
145-
if(i.is_assert())
146-
i.set_condition(false_exprt());
147-
}
148-
}
149-
}

src/goto-programs/set_properties.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ void set_properties(
2727
goto_modelt &goto_model,
2828
const std::list<std::string> &properties);
2929

30-
void make_assertions_false(goto_functionst &);
31-
void make_assertions_false(goto_modelt &);
32-
3330
void label_properties(goto_functionst &);
3431
void label_properties(goto_programt &);
3532
void label_properties(goto_modelt &);

0 commit comments

Comments
 (0)