From b86101ad3464f263799122e40076fa0eb3c8f710 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sun, 18 Feb 2018 12:52:32 +0100 Subject: [PATCH] Removed check that we don't need in IM7. --- MagickCore/exception-private.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MagickCore/exception-private.h b/MagickCore/exception-private.h index 150832970..b99eae89e 100644 --- a/MagickCore/exception-private.h +++ b/MagickCore/exception-private.h @@ -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) \ -- 2.40.0