GIF loader: Remove check made redundant by previous commit.

Patch by Yuriy M. Kaminskiy.
This commit is contained in:
Kim Woelders 2016-04-03 19:42:59 +02:00
parent 37a9680166
commit bfa12b68fe
1 changed files with 0 additions and 8 deletions

View File

@ -163,14 +163,6 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity,
if (!im->data)
goto quit;
if (!cmap)
{
/* No colormap? Now what?? Let's clear the image (and not segv) */
memset(im->data, 0, sizeof(DATA32) * w * h);
rc = 1;
goto finish;
}
ptr = im->data;
per_inc = 100.0 / (((float)w) * h);
for (i = 0; i < h; i++)