[Scummvm-git-logs] scummvm master -> 873c243f3f715f7b50204d42cee3317205da2ea4

dwatteau noreply at scummvm.org
Fri Nov 15 13:37:04 UTC 2024


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:
873c243f3f SCUMM: HE: Fix -Wunused-private-field warning in --disable-enet builds


Commit: 873c243f3f715f7b50204d42cee3317205da2ea4
    https://github.com/scummvm/scummvm/commit/873c243f3f715f7b50204d42cee3317205da2ea4
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2024-11-15T14:36:53+01:00

Commit Message:
SCUMM: HE: Fix -Wunused-private-field warning in --disable-enet builds

Changed paths:
    engines/scumm/he/logic/football.cpp


diff --git a/engines/scumm/he/logic/football.cpp b/engines/scumm/he/logic/football.cpp
index 0b31d4a4220..d9194afe8cc 100644
--- a/engines/scumm/he/logic/football.cpp
+++ b/engines/scumm/he/logic/football.cpp
@@ -445,7 +445,9 @@ private:
 	int32 _maxX;
 	int32 _minX;
 
+#ifdef USE_ENET
 	int _requestedSessionIndex = -2;
+#endif
 };
 
 int32 LogicHEfootball2002::dispatch(int op, int numArgs, int32 *args) {




More information about the Scummvm-git-logs mailing list