[Scummvm-cvs-logs] scummvm master -> 7734cea9c87d2527abb09c0024caeeb26a51beb2

eriktorbjorn eriktorbjorn at telia.com
Thu Jul 23 23:36:43 CEST 2015


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:
7734cea9c8 ACCESS: Remove unnecessary variable to fix GCC warning


Commit: 7734cea9c87d2527abb09c0024caeeb26a51beb2
    https://github.com/scummvm/scummvm/commit/7734cea9c87d2527abb09c0024caeeb26a51beb2
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-07-23T23:34:32+02:00

Commit Message:
ACCESS: Remove unnecessary variable to fix GCC warning

We already have 'events' declared earlier in the function.

Changed paths:
    engines/access/room.cpp



diff --git a/engines/access/room.cpp b/engines/access/room.cpp
index 46e8d2c..c91b37c 100644
--- a/engines/access/room.cpp
+++ b/engines/access/room.cpp
@@ -645,8 +645,6 @@ void Room::executeCommand(int commandId) {
 			walkCursor();
 			return;
 		case 8: {
-			EventsManager &events = *_vm->_events;
-
 			events.forceSetCursor(CURSOR_CROSSHAIRS);
 			_vm->_scripts->_sequence = 10000;
 			_vm->_scripts->searchForSequence();






More information about the Scummvm-git-logs mailing list