Skip to content

Commit 98cd3b7

Browse files
committed
Removal of a redundant predicate.
1 parent e429786 commit 98cd3b7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pointer-analysis/local_value_set_analysis.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,7 @@ void local_value_set_analysist::transform_function_stub(
267267
// Ordinary value set member (not an external value set);
268268

269269
const auto rhs_num=valuesets.object_numbering.get_number(rhs_expr);
270-
//object_numberingt::number_type rhs_num;
271-
if(can_cast_expr<dynamic_object_exprt>(rhs_expr) &&
272-
l_call->location_number==valuesets.location_number &&
273-
rhs_num)
270+
if(can_cast_expr<dynamic_object_exprt>(rhs_expr) && rhs_num)
274271
{
275272
// Replace all the current most-recent-allocation dynamic-objects
276273
// with the corresponding any-allocation ones

0 commit comments

Comments
 (0)