From: Dirk Lemstra Date: Sun, 18 Feb 2018 11:52:32 +0000 (+0100) Subject: Removed check that we don't need in IM7. X-Git-Tag: 7.0.7-23~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b86101ad3464f263799122e40076fa0eb3c8f710;p=imagemagick Removed check that we don't need in IM7. --- 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) \