1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 10:59:12 +00:00

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

@@ -818,7 +818,6 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
sub_args.ClearTypeInformation();
memset(sub_args_need_free, 0, sizeof(sub_args_need_free));
const char *s = str;
char *p;
uint32 stringid = strtoul(str, &p, 16);
if (*p != ':' && *p != '\0') {
@@ -837,7 +836,7 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
int i = 0;
while (*p != '\0' && i < 20) {
uint64 param;
s = ++p;
const char *s = ++p;
/* Find the next value */
bool instring = false;