Fix: Remove various dead or unnecessary assignments

This commit is contained in:
Charles Pigott
2018-10-14 18:17:09 +01:00
committed by frosch
parent f5b1115039
commit e0c0394e37
7 changed files with 8 additions and 15 deletions

View File

@@ -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