aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2013-01-07 16:21:55 +0200
committerFilippos Karapetis2013-01-07 16:21:55 +0200
commit87385740befe7e5325032a8a468fa595b4621ccf (patch)
tree11a709f043b6ca522843762f21ded29ce91c04c2
parentbd865d9741878b56a86c1389e66dfdee24ba1e39 (diff)
downloadscummvm-rg350-87385740befe7e5325032a8a468fa595b4621ccf.tar.gz
scummvm-rg350-87385740befe7e5325032a8a468fa595b4621ccf.tar.bz2
scummvm-rg350-87385740befe7e5325032a8a468fa595b4621ccf.zip
HOPKINS: The return value of constructLinuxFilename is unused
-rw-r--r--engines/hopkins/files.cpp3
-rw-r--r--engines/hopkins/files.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp
index e061b9c2d4..279ca4c0d3 100644
--- a/engines/hopkins/files.cpp
+++ b/engines/hopkins/files.cpp
@@ -118,9 +118,8 @@ void FileManager::constructFilename(const Common::String &folder, const Common::
/**
* Construct Linux filename
*/
-Common::String FileManager::constructLinuxFilename(const Common::String &file) {
+void FileManager::constructLinuxFilename(const Common::String &file) {
_vm->_globals._curFilename = file;
- return file;
}
/**
diff --git a/engines/hopkins/files.h b/engines/hopkins/files.h
index 427d61e183..b2001e2a0c 100644
--- a/engines/hopkins/files.h
+++ b/engines/hopkins/files.h
@@ -46,7 +46,7 @@ public:
void constructFilename(const Common::String &folder, const Common::String &file);
byte *searchCat(const Common::String &file, int a2);
- Common::String constructLinuxFilename(const Common::String &file);
+ void constructLinuxFilename(const Common::String &file);
uint32 fileSize(const Common::String &filename);
};