summaryrefslogtreecommitdiff
path: root/src/script/script_info_dummy.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/script/script_info_dummy.cpp
parentf5b1115039e41d7f75f91e7355003f10dd01b352 (diff)
downloadopenttd-e0c0394e373d2f3326383e79d7fcb9f4e288ae02.tar.xz
Fix: Remove various dead or unnecessary assignments
Diffstat (limited to 'src/script/script_info_dummy.cpp')
-rw-r--r--src/script/script_info_dummy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_info_dummy.cpp b/src/script/script_info_dummy.cpp
index e11c63151..53860386c 100644
--- a/src/script/script_info_dummy.cpp
+++ b/src/script/script_info_dummy.cpp
@@ -92,7 +92,7 @@ void Script_CreateDummy(HSQUIRRELVM vm, StringID string, const char *type)
p = newline + 1;
} while (newline != NULL);
- dp = strecpy(dp, " }\n}\n", lastof(dummy_script));
+ strecpy(dp, " }\n}\n", lastof(dummy_script));
/* 3) We translate the error message in the character format that Squirrel wants.
* We can use the fact that the wchar string printing also uses %s to print