[Scummvm-git-logs] scummvm master -> cd381c59d2caf1516b5bcb900bc769589d22088f

digitall noreply at scummvm.org
Thu Jun 23 20:42:21 UTC 2022


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:
cd381c59d2 CHEWY: Fix Unused Variable GCC Compiler Warning


Commit: cd381c59d2caf1516b5bcb900bc769589d22088f
    https://github.com/scummvm/scummvm/commit/cd381c59d2caf1516b5bcb900bc769589d22088f
Author: D G Turner (digitall at scummvm.org)
Date: 2022-06-23T21:41:41+01:00

Commit Message:
CHEWY: Fix Unused Variable GCC Compiler Warning

Changed paths:
    engines/chewy/resource.cpp


diff --git a/engines/chewy/resource.cpp b/engines/chewy/resource.cpp
index aea96b44309..087be70e7d1 100644
--- a/engines/chewy/resource.cpp
+++ b/engines/chewy/resource.cpp
@@ -44,7 +44,7 @@ Resource::Resource(Common::String filename) {
 	const uint32 header = _stream.readUint32BE();
 	const bool isText = (header == headerTxtDec || header == headerTxtEnc);
 	const bool isSprite = (header == headerSprite);
-	const bool isSpeech = filename.contains("speech.tvp");
+	//const bool isSpeech = filename.contains("speech.tvp");
 	const bool isBarrier = (header == headerBarrier);
 
 	if (header != headerGeneric && !isSprite && !isText && !isBarrier)




More information about the Scummvm-git-logs mailing list