(svn r20756) -Cleanup: no need to check return value of CallocT

pull/155/head
smatz 14 years ago
parent ec106759d1
commit 1f8983fadd

@ -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;

Loading…
Cancel
Save