aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/file/base_disk_file.cpp
diff options
context:
space:
mode:
authorTobia Tesan2013-07-13 01:08:43 +0200
committerTobia Tesan2013-07-13 12:40:01 +0200
commit23d9d5b509f290c44c6e2280d287da96eeabfe67 (patch)
tree55081008212e810e27b88be3b812638c0da1a3cc /engines/wintermute/base/file/base_disk_file.cpp
parent7c18021c52985aabc4574c633ba6569bbddd648b (diff)
downloadscummvm-rg350-23d9d5b509f290c44c6e2280d287da96eeabfe67.tar.gz
scummvm-rg350-23d9d5b509f290c44c6e2280d287da96eeabfe67.tar.bz2
scummvm-rg350-23d9d5b509f290c44c6e2280d287da96eeabfe67.zip
WINTERMUTE: Remove fixedPath snippet
fixedPath is apparently never used anywhere else in the class and this loop can cause the next one to never get to run.
Diffstat (limited to 'engines/wintermute/base/file/base_disk_file.cpp')
-rw-r--r--engines/wintermute/base/file/base_disk_file.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/wintermute/base/file/base_disk_file.cpp b/engines/wintermute/base/file/base_disk_file.cpp
index 3c1ecc7a73..5ffb06f854 100644
--- a/engines/wintermute/base/file/base_disk_file.cpp
+++ b/engines/wintermute/base/file/base_disk_file.cpp
@@ -66,12 +66,6 @@ static Common::FSNode getNodeForRelativePath(const Common::String &filename) {
const Common::FSNode gameDataDir(ConfMan.get("path"));
Common::FSNode curNode = gameDataDir;
- Common::String fixedPath = "";
- while (!path.empty()) {
- fixedPath += path.nextToken() + "/";
- }
- fixedPath.deleteLastChar();
-
// Parse all path-elements
while (!path.empty()) {
// Get the next path-component by slicing on '\\'