From: glennrp Date: Thu, 12 Jan 2012 18:41:37 +0000 (+0000) Subject: Removed 3 redundant lines of code from coders/png.c X-Git-Tag: 7.0.1-0~6387 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d97c8d1a09a189cd5c1e19fd61e3e35799dbcbb;p=imagemagick Removed 3 redundant lines of code from coders/png.c --- diff --git a/coders/png.c b/coders/png.c index c4ebd84b0..6c728063d 100644 --- a/coders/png.c +++ b/coders/png.c @@ -3356,10 +3356,6 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, image->storage_class=DirectClass; } - if ((ping_color_type == PNG_COLOR_TYPE_GRAY) || - (ping_color_type == PNG_COLOR_TYPE_GRAY_ALPHA)) - image->colorspace=GRAYColorspace; - for (j = 0; j < 2; j++) { if (j == 0)