diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2018-10-14 18:17:09 +0100 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-10-31 12:41:49 +0100 |
commit | e0c0394e373d2f3326383e79d7fcb9f4e288ae02 (patch) | |
tree | 0242bbb30aea2abf39ead7af8f0cf7d5fe8f0542 /src/script/script_info_dummy.cpp | |
parent | f5b1115039e41d7f75f91e7355003f10dd01b352 (diff) | |
download | openttd-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.cpp | 2 |
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 |