]> granicus.if.org Git - imagemagick/commitdiff
Removed check that we don't need in IM7.
authorDirk Lemstra <dirk@git.imagemagick.org>
Sun, 18 Feb 2018 11:52:32 +0000 (12:52 +0100)
committerDirk Lemstra <dirk@git.imagemagick.org>
Sun, 18 Feb 2018 11:52:32 +0000 (12:52 +0100)
MagickCore/exception-private.h

index 1508329703b1452bbe53cbd3b897133fc6a7cf0f..b99eae89e01da3fc97732aa30839642cc112a987 100644 (file)
@@ -28,9 +28,8 @@ extern "C" {
 
 #define ThrowBinaryException(severity,tag,context) \
 { \
-  if (image != (Image *) NULL) \
-    (void) ThrowMagickException(exception,GetMagickModule(),severity, \
-      tag == (const char *) NULL ? "unknown" : tag,"`%s'",context); \
+  (void) ThrowMagickException(exception,GetMagickModule(),severity, \
+    tag == (const char *) NULL ? "unknown" : tag,"`%s'",context); \
   return(MagickFalse); \
 }
 #define ThrowFatalException(severity,tag) \