From 2d97c8d1a09a189cd5c1e19fd61e3e35799dbcbb Mon Sep 17 00:00:00 2001 From: glennrp Date: Thu, 12 Jan 2012 18:41:37 +0000 Subject: [PATCH] Removed 3 redundant lines of code from coders/png.c --- coders/png.c | 4 ---- 1 file changed, 4 deletions(-) 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) -- 2.40.0