From a2dc897fe58e5521361a07b1e39a8b4c84d0dacf Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 16 Sep 2006 15:01:14 +0000 Subject: Reduce code duplication svn-id: r23888 --- engines/sword1/sword1.cpp | 4 ---- engines/sword1/sword1.h | 1 - 2 files changed, 5 deletions(-) (limited to 'engines/sword1') 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(); -- cgit v1.2.3