Cleanup: remove write-only variable "hostname" in NetworkGameList

This commit is contained in:
Patric Stout
2021-04-29 12:01:54 +02:00
committed by Patric Stout
parent 0b460bf4a1
commit a8afbe74bf
3 changed files with 0 additions and 7 deletions

View File

@@ -51,7 +51,6 @@ static void NetworkGameListHandleDelayedInsert()
ClearGRFConfigList(&item->info.grfconfig);
memset(&item->info, 0, sizeof(item->info));
strecpy(item->info.server_name, ins_item->info.server_name, lastof(item->info.server_name));
strecpy(item->info.hostname, ins_item->info.hostname, lastof(item->info.hostname));
item->online = false;
}
item->manually |= ins_item->manually;