summaryrefslogtreecommitdiff
path: root/src/saveload/oldloader.cpp
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2018-10-14 18:17:09 +0100
committerfrosch <github@elsenhans.name>2018-10-31 12:41:49 +0100
commite0c0394e373d2f3326383e79d7fcb9f4e288ae02 (patch)
tree0242bbb30aea2abf39ead7af8f0cf7d5fe8f0542 /src/saveload/oldloader.cpp
parentf5b1115039e41d7f75f91e7355003f10dd01b352 (diff)
downloadopenttd-e0c0394e373d2f3326383e79d7fcb9f4e288ae02.tar.xz
Fix: Remove various dead or unnecessary assignments
Diffstat (limited to 'src/saveload/oldloader.cpp')
-rw-r--r--src/saveload/oldloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp
index 13ee0e5b0..e0ad0e732 100644
--- a/src/saveload/oldloader.cpp
+++ b/src/saveload/oldloader.cpp
@@ -265,7 +265,7 @@ static SavegameType DetermineOldSavegameType(FILE *f, char *title, const char *l
case SGT_TTD: title = strecpy(title, "(TTD) ", last); break;
default: title = strecpy(title, "(broken) ", last); break;
}
- title = strecpy(title, temp, last);
+ strecpy(title, temp, last);
}
return type;