aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/alan2.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-07-06 16:01:10 -0700
committerPaul Gilbert2019-07-06 16:01:10 -0700
commit54b838cd6077e07f16e24d82cd9b7636f5a5b55d (patch)
tree91453b14c7b559899d2dbe2b28ee76ee955075f9 /engines/glk/alan2/alan2.cpp
parent43bc2e4853e985536a54f00b4e7aa9e87a9b37b6 (diff)
downloadscummvm-rg350-54b838cd6077e07f16e24d82cd9b7636f5a5b55d.tar.gz
scummvm-rg350-54b838cd6077e07f16e24d82cd9b7636f5a5b55d.tar.bz2
scummvm-rg350-54b838cd6077e07f16e24d82cd9b7636f5a5b55d.zip
GLK: ALAN2: Cleanup of unused variables
Diffstat (limited to 'engines/glk/alan2/alan2.cpp')
-rw-r--r--engines/glk/alan2/alan2.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/glk/alan2/alan2.cpp b/engines/glk/alan2/alan2.cpp
index 0ad524bd47..7e942b15e5 100644
--- a/engines/glk/alan2/alan2.cpp
+++ b/engines/glk/alan2/alan2.cpp
@@ -71,8 +71,6 @@ bool Alan2::initialize() {
// Set up the code file to point to the already opened game file
codfil = &_gameFile;
- strncpy(codfnm, getFilename().c_str(), 255);
- codfnm[255] = '\0';
if (_gameFile.size() < 8) {
GUIErrorMessage(_("This is too short to be a valid Alan2 file."));