[Scummvm-git-logs] scummvm master -> 7714b7efa8d5fa34932b86df9bff3a7dbd88a2f1

aquadran noreply at scummvm.org
Sun Mar 6 13:30:26 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:
7714b7efa8 GRIFFON: Fixed compiler warning about not used array


Commit: 7714b7efa8d5fa34932b86df9bff3a7dbd88a2f1
    https://github.com/scummvm/scummvm/commit/7714b7efa8d5fa34932b86df9bff3a7dbd88a2f1
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-03-06T14:30:20+01:00

Commit Message:
GRIFFON: Fixed compiler warning about not used array

Changed paths:
    engines/griffon/detection.cpp


diff --git a/engines/griffon/detection.cpp b/engines/griffon/detection.cpp
index 2d672215f44..f6bbc6f46c7 100644
--- a/engines/griffon/detection.cpp
+++ b/engines/griffon/detection.cpp
@@ -30,6 +30,8 @@ static const PlainGameDescriptor griffonGames[] = {
 	{nullptr, nullptr}
 };
 
+#ifdef USE_TTS
+
 #define GAMEOPTION_TTS_NARRATOR 	GUIO_GAMEOPTIONS1
 
 static const ADExtraGuiOptionsMap optionsList[] = {
@@ -45,6 +47,8 @@ static const ADExtraGuiOptionsMap optionsList[] = {
 	AD_EXTRA_GUI_OPTIONS_TERMINATOR
 };
 
+#endif
+
 namespace Griffon {
 
 static const ADGameDescription gameDescriptions[] = {




More information about the Scummvm-git-logs mailing list