1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r1605) Remove redundant if

This commit is contained in:
tron
2005-01-23 10:47:15 +00:00
parent 322bd934be
commit fd25a53d1b

View File

@@ -574,7 +574,7 @@ static void load_setting_desc(IniFile *ini, const SettingDesc *desc, const void
}
break;
case SDT_STRING:
if (*(char**)ptr) free(*(char**)ptr);
free(*(char**)ptr);
*(char**)ptr = strdup((const char*)p);
break;
case SDT_STRINGBUF: