[Scummvm-git-logs] scummvm master -> e7e3aaf63a73018b4772a58066d6783600df29b2
orgads
noreply at scummvm.org
Wed May 14 16:20:59 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
e7e3aaf63a TSAGE: Initialize local variable
Commit: e7e3aaf63a73018b4772a58066d6783600df29b2
https://github.com/scummvm/scummvm/commit/e7e3aaf63a73018b4772a58066d6783600df29b2
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2025-05-14T19:20:42+03:00
Commit Message:
TSAGE: Initialize local variable
Changed paths:
engines/tsage/user_interface.cpp
diff --git a/engines/tsage/user_interface.cpp b/engines/tsage/user_interface.cpp
index a7430eff6c1..5427623bb95 100644
--- a/engines/tsage/user_interface.cpp
+++ b/engines/tsage/user_interface.cpp
@@ -329,7 +329,7 @@ void UIElements::synchronize(Serializer &s) {
_itemList.clear();
for (int idx = 0; idx < count; ++idx) {
- int itemId;
+ int itemId = 0;
s.syncAsSint16LE(itemId);
_itemList.push_back(itemId);
}
More information about the Scummvm-git-logs
mailing list