Skip to content

Commit 9860050

Browse files
author
Daniel Kroening
authored
Merge pull request #3341 from tautschnig/vs-show_goto_stack_trace
show_goto_stack_trace: remove unused parameter and make static [blocks: #2310]
2 parents 50ee9f5 + 14157c7 commit 9860050

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/goto-programs/goto_trace.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,11 +539,10 @@ void show_full_goto_trace(
539539
}
540540
}
541541

542-
void show_goto_stack_trace(
542+
static void show_goto_stack_trace(
543543
messaget::mstreamt &out,
544544
const namespacet &ns,
545-
const goto_tracet &goto_trace,
546-
const trace_optionst &options)
545+
const goto_tracet &goto_trace)
547546
{
548547
// map from thread number to a call stack
549548
std::map<unsigned, std::vector<goto_tracet::stepst::const_iterator>>
@@ -622,7 +621,7 @@ void show_goto_trace(
622621
const trace_optionst &options)
623622
{
624623
if(options.stack_trace)
625-
show_goto_stack_trace(out, ns, goto_trace, options);
624+
show_goto_stack_trace(out, ns, goto_trace);
626625
else
627626
show_full_goto_trace(out, ns, goto_trace, options);
628627
}

0 commit comments

Comments
 (0)