Skip to content

Commit fbd2b88

Browse files
authored
Merge pull request #7529 from tautschnig/cleanup/function_depth
Remove unused function_depth variable
2 parents eaae3b6 + 58f553f commit fbd2b88

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/goto-programs/goto_trace.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -397,15 +397,8 @@ void show_compact_goto_trace(
397397
const goto_tracet &goto_trace,
398398
const trace_optionst &options)
399399
{
400-
std::size_t function_depth = 0;
401-
402400
for(const auto &step : goto_trace.steps)
403401
{
404-
if(step.is_function_call())
405-
function_depth++;
406-
else if(step.is_function_return())
407-
function_depth--;
408-
409402
// hide the hidden ones
410403
if(step.hidden)
411404
continue;

0 commit comments

Comments
 (0)