aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2006-09-16 15:01:14 +0000
committerMax Horn2006-09-16 15:01:14 +0000
commita2dc897fe58e5521361a07b1e39a8b4c84d0dacf (patch)
tree623d9f98ca93a828bbe4fd05bf2f4735a181b950 /engines/sword1
parent250133baf0f665deca81d20631df1299ca571b81 (diff)
downloadscummvm-rg350-a2dc897fe58e5521361a07b1e39a8b4c84d0dacf.tar.gz
scummvm-rg350-a2dc897fe58e5521361a07b1e39a8b4c84d0dacf.tar.bz2
scummvm-rg350-a2dc897fe58e5521361a07b1e39a8b4c84d0dacf.zip
Reduce code duplication
svn-id: r23888
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/sword1.cpp4
-rw-r--r--engines/sword1/sword1.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index 137c9242b2..88c8063c08 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -131,10 +131,6 @@ namespace Sword1 {
SystemVars SwordEngine::_systemVars;
-void SwordEngine::errorString(const char *buf1, char *buf2) {
- strcpy(buf2, buf1);
-}
-
SwordEngine::SwordEngine(OSystem *syst)
: Engine(syst) {
diff --git a/engines/sword1/sword1.h b/engines/sword1/sword1.h
index 50c0150743..786bfc538e 100644
--- a/engines/sword1/sword1.h
+++ b/engines/sword1/sword1.h
@@ -68,7 +68,6 @@ struct SystemVars {
};
class SwordEngine : public Engine {
- void errorString(const char *buf_input, char *buf_output);
public:
SwordEngine(OSystem *syst);
virtual ~SwordEngine();