aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base
diff options
context:
space:
mode:
authorJohannes Schickel2013-11-23 20:45:13 +0100
committerJohannes Schickel2013-11-23 20:45:13 +0100
commit29fae3914eff2f4db830f2cc4ade5076d6e7e04f (patch)
treeaab5169aae4e941aa52b4e7b1d233b7c23fcf7d4 /engines/wintermute/base
parent4708a1969b27e0ffd814beacf66c1de6ebb70178 (diff)
downloadscummvm-rg350-29fae3914eff2f4db830f2cc4ade5076d6e7e04f.tar.gz
scummvm-rg350-29fae3914eff2f4db830f2cc4ade5076d6e7e04f.tar.bz2
scummvm-rg350-29fae3914eff2f4db830f2cc4ade5076d6e7e04f.zip
WINTERMUTE: Remove unused variables.
Diffstat (limited to 'engines/wintermute/base')
-rw-r--r--engines/wintermute/base/base_file_manager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/wintermute/base/base_file_manager.cpp b/engines/wintermute/base/base_file_manager.cpp
index ae4c891c03..3b7eabdc54 100644
--- a/engines/wintermute/base/base_file_manager.cpp
+++ b/engines/wintermute/base/base_file_manager.cpp
@@ -216,8 +216,6 @@ bool BaseFileManager::registerPackages() {
// Avoid registering all the language files
// TODO: Select based on the gameDesc.
if (_language != Common::UNK_LANG && (fileIt->getParent().getName() == "language" || fileIt->getParent().getName() == "languages")) {
- Common::String parentName = fileIt->getParent().getName();
- Common::String dcpName = fileIt->getName();
// English
if (_language == Common::EN_ANY && (fileIt->getName() != "english.dcp" && fileIt->getName() != "xlanguage_en.dcp")) {
continue;