Skip to content

Commit 2bf9de7

Browse files
committed
Remove empty function make_constant_rec
1 parent 8f6dab8 commit 2bf9de7

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/ansi-c/c_typecheck_base.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ class c_typecheck_baset:
199199
virtual void make_index_type(exprt &expr);
200200
virtual void make_constant(exprt &expr);
201201
virtual void make_constant_index(exprt &expr);
202-
virtual void make_constant_rec(exprt &expr);
203202

204203
virtual bool gcc_types_compatible_p(const typet &, const typet &);
205204

src/ansi-c/c_typecheck_expr.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3451,7 +3451,6 @@ void c_typecheck_baset::typecheck_side_effect_assignment(
34513451

34523452
void c_typecheck_baset::make_constant(exprt &expr)
34533453
{
3454-
make_constant_rec(expr);
34553454
simplify(expr, *this);
34563455

34573456
if(!expr.is_constant() &&
@@ -3478,7 +3477,3 @@ void c_typecheck_baset::make_constant_index(exprt &expr)
34783477
throw 0;
34793478
}
34803479
}
3481-
3482-
void c_typecheck_baset::make_constant_rec(exprt &expr)
3483-
{
3484-
}

0 commit comments

Comments
 (0)