From 833c692fc96820a47da4ec4068517a85cafb8fc0 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 6 Oct 2011 02:51:30 +0200 Subject: [PATCH] SCUMM: Make some variables const and one furthermore static. --- engines/scumm/detection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index b63cc100e6f..92face553ce 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -318,8 +318,8 @@ static bool detectSpeech(const Common::FSList &fslist, const GameSettings *gs) { if (gs->platform == Common::kPlatformFMTowns) return false; - const char *basenames[] = { gs->gameid, "monster", 0 }; - const char *extensions[] = { "sou", + const char *const basenames[] = { gs->gameid, "monster", 0 }; + static const char *const extensions[] = { "sou", #ifdef USE_FLAC "sof", #endif