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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user