Codechange: Silence -Wclass-memaccess warnings with GCC8

This commit is contained in:
Charles Pigott
2018-05-13 18:34:57 +01:00
committed by frosch
parent e1b9187e9b
commit 5f86e1a390
9 changed files with 12 additions and 15 deletions

View File

@@ -498,7 +498,6 @@ static void Check_PLYR()
int index;
while ((index = SlIterateArray()) != -1) {
CompanyProperties *cprops = new CompanyProperties();
memset(cprops, 0, sizeof(*cprops));
SaveLoad_PLYR_common(NULL, cprops);
/* We do not load old custom names */