[Scummvm-git-logs] scummvm master -> 349e721847628ff33ba696d4d2302cc97f2d8036

digitall 547637+digitall at users.noreply.github.com
Wed Oct 23 01:58:57 CEST 2019


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:
349e721847 SCUMM HE: Fix GCC Compiler Warnings


Commit: 349e721847628ff33ba696d4d2302cc97f2d8036
    https://github.com/scummvm/scummvm/commit/349e721847628ff33ba696d4d2302cc97f2d8036
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-23T00:55:41+01:00

Commit Message:
SCUMM HE: Fix GCC Compiler Warnings

Changed paths:
    engines/scumm/he/moonbase/net_main.cpp


diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp
index 61ee2a9..c0b4b4c 100644
--- a/engines/scumm/he/moonbase/net_main.cpp
+++ b/engines/scumm/he/moonbase/net_main.cpp
@@ -286,7 +286,7 @@ void Net::remoteReceiveData() {
 	// FIXME. Get data into _packbuffer
 	uint type = READ_UINT32(_packbuffer);
 	uint len = READ_UINT32(_packbuffer + 4);
-	uint timestamp = READ_UINT32(_packbuffer + 8);
+	/*uint timestamp =*/ READ_UINT32(_packbuffer + 8);
 	byte *p;
 	uint32 *params;
 
@@ -362,7 +362,7 @@ void Net::unpackageArray(int arrayId, byte *data, int len) {
 
 
 void Net::doNetworkOnceAFrame(int msecs) {
-	int	tickCount = g_system->getMillis() + msecs;
+	uint32 tickCount = g_system->getMillis() + msecs;
 
 	while (getMessageCount()) {
 		remoteReceiveData();





More information about the Scummvm-git-logs mailing list