Skip to content

Commit

Permalink
Silence Emscripten/Clang warning (benign)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Oct 10, 2024
1 parent 77f8b25 commit 6c28a42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pl-vmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -5055,8 +5055,9 @@ VMH(b_throw, 0, (), ())

if ( has_emergency_space(&LD->stacks.local, sizeof(struct localFrame)) )
{ fid = open_foreign_frame();
} else /* fatal */
{ LD->outofstack = (Stack)&LD->stacks.local;
} else /* fatal */
{ fid = 0; /* Silence Clang; outOfStack() does not return */
LD->outofstack = (Stack)&LD->stacks.local;
outOfStack(LD->outofstack, STACK_OVERFLOW_THROW);
assert(0);
}
Expand Down

0 comments on commit 6c28a42

Please sign in to comment.