[Scummvm-git-logs] scummvm master -> 04ae8edaab3017bf905c6d1b077a75354c6a611f
djsrv
dservilla at gmail.com
Thu Jul 1 16:23:50 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
04ae8edaab DIRECTOR: LINGO: Change dropping return value warning to debug
Commit: 04ae8edaab3017bf905c6d1b077a75354c6a611f
https://github.com/scummvm/scummvm/commit/04ae8edaab3017bf905c6d1b077a75354c6a611f
Author: djsrv (dservilla at gmail.com)
Date: 2021-07-01T12:23:42-04:00
Commit Message:
DIRECTOR: LINGO: Change dropping return value warning to debug
Sometimes needing to drop the return value is expected for handlers, so
this shouldn't be a warning.
Changed paths:
engines/director/lingo/lingo-code.cpp
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp
index 36d125204d..882479e683 100644
--- a/engines/director/lingo/lingo-code.cpp
+++ b/engines/director/lingo/lingo-code.cpp
@@ -301,7 +301,7 @@ void Lingo::popContext() {
if (_stack.size() == fp->stackSizeBefore + 1) {
if (!fp->allowRetVal) {
- warning("dropping return value");
+ debugC(5, kDebugLingoExec, "dropping return value");
g_lingo->pop();
}
} else if (_stack.size() == fp->stackSizeBefore) {
More information about the Scummvm-git-logs
mailing list