forked from old/legacy-imlib2
GIF loader: Remove check made redundant by previous commit.
Patch by Yuriy M. Kaminskiy.
This commit is contained in:
parent
37a9680166
commit
bfa12b68fe
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue