[Scummvm-git-logs] scummvm master -> ae49cd2748da780de420b864bd2e634a9d52d787
digitall
noreply at scummvm.org
Tue Sep 16 19:29:20 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:
ae49cd2748 BAGEL: Fix Type Limits GCC Compiler Warnings
Commit: ae49cd2748da780de420b864bd2e634a9d52d787
https://github.com/scummvm/scummvm/commit/ae49cd2748da780de420b864bd2e634a9d52d787
Author: D G Turner (digitall at scummvm.org)
Date: 2025-09-16T20:28:56+01:00
Commit Message:
BAGEL: Fix Type Limits GCC Compiler Warnings
Changed paths:
engines/bagel/hodjnpodj/mankala/mnklog.cpp
diff --git a/engines/bagel/hodjnpodj/mankala/mnklog.cpp b/engines/bagel/hodjnpodj/mankala/mnklog.cpp
index 79923fbaca4..ccb62a26068 100644
--- a/engines/bagel/hodjnpodj/mankala/mnklog.cpp
+++ b/engines/bagel/hodjnpodj/mankala/mnklog.cpp
@@ -1707,7 +1707,7 @@ bool CMnk::GetBestWinCount(CMove * xpcMove)
int iValue = 0; // value from table
struct FIVE * hpFive ; // ptr to structure of 8 5-bit values
- if (lIndex < 0 || lIndex >= MAXCONFIGS) {
+ if (/*lIndex < 0 ||*/ lIndex >= MAXCONFIGS) {
iError = 100 ; // index out of range
goto cleanup ;
}
@@ -1784,7 +1784,7 @@ bool CMnk::SetBestWinCount(CMove * xpcMove)
int iValue = xpcMove->m_iBestWinValue ; // value from table
bool bTest = false ; // debugging test
- if (lIndex < 0 || lIndex >= MAXCONFIGS) {
+ if (/*lIndex < 0 ||*/ lIndex >= MAXCONFIGS) {
iError = 100 ; // index out of range
goto cleanup ;
}
More information about the Scummvm-git-logs
mailing list