diff options
author | Eugene Sandulenko | 2010-08-14 19:56:15 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:43:36 +0000 |
commit | 72130c284d2f3b2db8d54da96f798806082029f3 (patch) | |
tree | 84c5df72a11ec6aacd384287bbbb0b6e6e160023 /engines/sword25/kernel/kernel.cpp | |
parent | 43959cc6bd87cbe59b2d9440c6f819c39cb574fd (diff) | |
download | scummvm-rg350-72130c284d2f3b2db8d54da96f798806082029f3.tar.gz scummvm-rg350-72130c284d2f3b2db8d54da96f798806082029f3.tar.bz2 scummvm-rg350-72130c284d2f3b2db8d54da96f798806082029f3.zip |
SWORD25: Fix couple more warnings
svn-id: r53236
Diffstat (limited to 'engines/sword25/kernel/kernel.cpp')
-rw-r--r-- | engines/sword25/kernel/kernel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/kernel/kernel.cpp b/engines/sword25/kernel/kernel.cpp index 6348ca0f63..6150024e20 100644 --- a/engines/sword25/kernel/kernel.cpp +++ b/engines/sword25/kernel/kernel.cpp @@ -180,12 +180,12 @@ BS_Service *BS_Kernel::Superclass::NewService(const Common::String &ServiceIdent for (unsigned int i = 0; i < BS_SERVICE_COUNT; i++) if (BS_SERVICE_TABLE[i].SuperclassIdentifier == _Identifier && BS_SERVICE_TABLE[i].ServiceIdentifier == ServiceIdentifier) { - BS_Service *NewService = BS_SERVICE_TABLE[i].CreateMethod(_pKernel); + BS_Service *NewService_ = BS_SERVICE_TABLE[i].CreateMethod(_pKernel); - if (NewService) { + if (NewService_) { DisconnectService(); BS_LOGLN("Service '%s' created from superclass '%s'.", ServiceIdentifier.c_str(), _Identifier.c_str()); - _ActiveService = NewService; + _ActiveService = NewService_; _ActiveServiceName = BS_SERVICE_TABLE[i].ServiceIdentifier; return _ActiveService; } else { |