[Scummvm-cvs-logs] scummvm master -> dd75ebd96b96dc12df11e98f4011a1119b230b5d

Strangerke Strangerke at scummvm.org
Tue Sep 13 00:52:59 CEST 2011


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:
dd75ebd96b CGE: Remove dead code reported by clang++


Commit: dd75ebd96b96dc12df11e98f4011a1119b230b5d
    https://github.com/scummvm/scummvm/commit/dd75ebd96b96dc12df11e98f4011a1119b230b5d
Author: Strangerke (strangerke at scummvm.org)
Date: 2011-09-12T15:48:01-07:00

Commit Message:
CGE: Remove dead code reported by clang++

Thanks LordHoto and salty-horse for reporting the problem

Changed paths:
    engines/cge/cge_main.cpp



diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index e35e5c6..24aa798 100644
--- a/engines/cge/cge_main.cpp
+++ b/engines/cge/cge_main.cpp
@@ -584,9 +584,6 @@ void CGEEngine::miniStep(int stp) {
 		_miniCave->_flags._hide = true;
 	} else {
 		*_miniShp[0] = *_miniShpList[stp];
-		if (_fx->_current)
-			&*(_fx->_current->addr());
-
 		_miniCave->_flags._hide = false;
 	}
 }






More information about the Scummvm-git-logs mailing list