aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2013-11-23 20:56:29 +0100
committerJohannes Schickel2013-11-23 21:00:39 +0100
commit5166fce2eb49a1f9b92471d27d7f7d03a920bc9c (patch)
tree90d231f28ee783d69e574b25fc06d5d2189d7fd7
parent9a78ac265dfaf135183ac84a1fe91c8ef724d6cb (diff)
downloadscummvm-rg350-5166fce2eb49a1f9b92471d27d7f7d03a920bc9c.tar.gz
scummvm-rg350-5166fce2eb49a1f9b92471d27d7f7d03a920bc9c.tar.bz2
scummvm-rg350-5166fce2eb49a1f9b92471d27d7f7d03a920bc9c.zip
WINTERMUTE: Remove another unused variable.
-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 10b340c7f5..dbf7e24927 100644
--- a/engines/wintermute/base/base_file_manager.cpp
+++ b/engines/wintermute/base/base_file_manager.cpp
@@ -291,8 +291,6 @@ Common::SeekableReadStream *BaseFileManager::openPkgFile(const Common::String &f
Common::String upcName = filename;
upcName.toUppercase();
Common::SeekableReadStream *file = nullptr;
- char fileName[MAX_PATH_LENGTH];
- Common::strlcpy(fileName, upcName.c_str(), MAX_PATH_LENGTH);
// correct slashes
for (uint32 i = 0; i < upcName.size(); i++) {