From df311132228c338b1c22707abade0488fca0db30 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 24 Jul 2015 09:14:25 +0200 Subject: ACCESS: Rename local variable to silence GCC warning --- engines/access/amazon/amazon_scripts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/access/amazon/amazon_scripts.cpp b/engines/access/amazon/amazon_scripts.cpp index 8c49424bc5..d8f4663401 100644 --- a/engines/access/amazon/amazon_scripts.cpp +++ b/engines/access/amazon/amazon_scripts.cpp @@ -380,7 +380,7 @@ void AmazonScripts::executeSpecial(int commandIndex, int param1, int param2) { typedef void(AmazonScripts::*AmazonScriptMethodPtr)(); void AmazonScripts::executeCommand(int commandIndex) { - static const AmazonScriptMethodPtr COMMAND_LIST[] = { + static const AmazonScriptMethodPtr AMAZON_COMMAND_LIST[] = { &AmazonScripts::cmdHelp_v2, &AmazonScripts::cmdCycleBack, &AmazonScripts::cmdChapter, &AmazonScripts::cmdSetHelp, &AmazonScripts::cmdCenterPanel, &AmazonScripts::cmdMainPanel, @@ -388,7 +388,7 @@ void AmazonScripts::executeCommand(int commandIndex) { }; if (commandIndex >= 73) - (this->*COMMAND_LIST[commandIndex - 73])(); + (this->*AMAZON_COMMAND_LIST[commandIndex - 73])(); else Scripts::executeCommand(commandIndex); } -- cgit v1.2.3