[Scummvm-git-logs] scummvm master -> e870c56f2188ec6569254e621e93f0cf8eb8e089
bluegr
bluegr at gmail.com
Tue Mar 23 23:08:52 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:
e870c56f21 PRIVATE: Fix potentially uninitialized variable on release build
Commit: e870c56f2188ec6569254e621e93f0cf8eb8e089
https://github.com/scummvm/scummvm/commit/e870c56f2188ec6569254e621e93f0cf8eb8e089
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-03-24T01:08:49+02:00
Commit Message:
PRIVATE: Fix potentially uninitialized variable on release build
assert is no-op.
Changed paths:
engines/private/code.cpp
diff --git a/engines/private/code.cpp b/engines/private/code.cpp
index 4334f5b2c7..5aa8ba9229 100644
--- a/engines/private/code.cpp
+++ b/engines/private/code.cpp
@@ -205,7 +205,7 @@ int add() {
int negate() {
Datum d = pop();
- int v;
+ int v = 0;
if (d.type == NAME) {
//debug("negating %s", d.u.sym->name->c_str());
v = d.u.sym->u.val;
More information about the Scummvm-git-logs
mailing list