Skip to content

Commit

Permalink
#1495: remove obsolete variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Feb 14, 2022
1 parent 467bc11 commit 50582ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vt/configs/error/stack_out.cc
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ DumpStackType dumpStack(int skip) {
}

// Unwind frames one by one, going up the frame stack.
int i = 0;
do {
if (i++ < skip) {
if (skip-- > 0) {
continue;
}

Expand Down

0 comments on commit 50582ae

Please sign in to comment.