File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ void goto_symext::symex_allocate(
127
127
if (object_type.id ()==ID_array &&
128
128
!to_array_type (object_type).size ().is_constant ())
129
129
{
130
- exprt &size= to_array_type (object_type).size ();
130
+ exprt &array_size = to_array_type (object_type).size ();
131
131
132
132
auxiliary_symbolt size_symbol;
133
133
@@ -137,12 +137,12 @@ void goto_symext::symex_allocate(
137
137
size_symbol.type =tmp_size.type ();
138
138
size_symbol.mode = mode;
139
139
size_symbol.type .set (ID_C_constant, true );
140
- size_symbol.value = size ;
140
+ size_symbol.value = array_size ;
141
141
142
142
state.symbol_table .add (size_symbol);
143
143
144
- code_assignt assignment (size_symbol.symbol_expr (), size );
145
- size= assignment.lhs ();
144
+ code_assignt assignment (size_symbol.symbol_expr (), array_size );
145
+ array_size = assignment.lhs ();
146
146
147
147
symex_assign (state, assignment);
148
148
}
You can’t perform that action at this time.
0 commit comments