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