]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 26 Oct 2013 13:08:41 +0000 (13:08 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 26 Oct 2013 13:08:41 +0000 (13:08 +0000)
MagickCore/colorspace.c

index f3850af9216fd091221b4f75faf9c198a9ac6f93..7887674a54981864e09be01093135f635a51663d 100644 (file)
@@ -1132,8 +1132,6 @@ MagickExport MagickBooleanType TransformImageColorspace(Image *image,
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   if (colorspace == UndefinedColorspace)
     return(SetImageColorspace(image,colorspace,exception));
-  if (image->colorspace == colorspace)
-    return(MagickTrue);  /* same colorspace: no op */
   /*
     Convert the reference image from an alternate colorspace to sRGB.
   */