]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 27 Oct 2009 14:11:11 +0000 (14:11 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 27 Oct 2009 14:11:11 +0000 (14:11 +0000)
coders/png.c

index d2f75c3b319065c88fc8313a4a6383f5fa2c1bee..17c98ace0db22696ae83b52184e54c155f72618e 100644 (file)
@@ -1754,11 +1754,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
         (void) LogMagickEvent(CoderEvent,GetMagickModule(),
           "  exit ReadOnePNGImage() with error.");
       if (image != (Image *) NULL)
-        {
-          if (image->exception.severity > exception->severity)
-            InheritException(exception,&image->exception);
-          image->columns=0;
-        }
+        image->columns=0;
       return(GetFirstImageInList(image));
     }
   /*
@@ -2289,11 +2285,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
         (void) LogMagickEvent(CoderEvent,GetMagickModule(),
           "  exit ReadOnePNGImage() with error.");
       if (image != (Image *) NULL)
-        {
-          if (image->exception.severity > exception->severity)
-            InheritException(exception,&image->exception);
-          image->columns=0;
-        }
+        image->columns=0;
       return(GetFirstImageInList(image));
     }
   quantum_info=AcquireQuantumInfo(image_info,image);