Skip to content
Permalink
Browse files

DIRECTOR: LINGO: Made assert statement meaningful

  • Loading branch information
sev- committed Dec 2, 2019
1 parent e260008 commit 7c177b45b22efe7a55db173e3f796f13b84e958b
Showing with 1 addition and 2 deletions.
  1. +1 −2 engines/director/lingo/lingo-code.cpp
@@ -152,8 +152,7 @@ void Lingo::pushVoid() {
}

Datum Lingo::pop(void) {
if (_stack.size() == 0)
assert(0);
assert (_stack.size() != 0);

Datum ret = _stack.back();
_stack.pop_back();

0 comments on commit 7c177b4

Please sign in to comment.
You can’t perform that action at this time.