mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 19:39:12 +00:00
(svn r20756) -Cleanup: no need to check return value of CallocT
This commit is contained in:
@@ -7108,8 +7108,6 @@ static void InitNewGRFFile(const GRFConfig *config, int sprite_offset)
|
||||
|
||||
newfile = CallocT<GRFFile>(1);
|
||||
|
||||
if (newfile == NULL) error ("Out of memory");
|
||||
|
||||
newfile->filename = strdup(config->filename);
|
||||
newfile->sprite_offset = sprite_offset;
|
||||
|
||||
|
Reference in New Issue
Block a user