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

athrxx athrxx at scummvm.org
Sat Nov 21 13:00:24 UTC 2020


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:
b91f4e3e4e SCUMM: fix warning (unused var)


Commit: b91f4e3e4e0db4b447ae39b6bf67eac29ce106a1
    https://github.com/scummvm/scummvm/commit/b91f4e3e4e0db4b447ae39b6bf67eac29ce106a1
Author: athrxx (athrxx at scummvm.org)
Date: 2020-11-21T13:59:46+01:00

Commit Message:
SCUMM: fix warning (unused var)

Changed paths:
    engines/scumm/string.cpp


diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 1c859470d4..5a4c784c7e 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -2025,8 +2025,6 @@ const byte *ScummEngine::searchTranslatedLine(const byte *text, const Translatio
 
 void ScummEngine::translateText(const byte *text, byte *trans_buff) {
 	if (_existLanguageFile) {
-		int textLen = resStrLen(text);
-
 		if (_currentScript == 0xff) {
 			// used in drawVerb(), etc
 			debug(7, "translateText: Room=%d, CurrentScript == 0xff", _currentRoom);




More information about the Scummvm-git-logs mailing list