From: Cristy Date: Sun, 26 Nov 2017 15:17:49 +0000 (-0500) Subject: Don't throw exception if image registry tag is not found X-Git-Tag: 7.0.7-12~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65d2c232930a49eebc38659b2dea36817de6d940;p=imagemagick Don't throw exception if image registry tag is not found --- diff --git a/MagickCore/registry.c b/MagickCore/registry.c index 2e159f7f8..b0ad85666 100644 --- a/MagickCore/registry.c +++ b/MagickCore/registry.c @@ -199,11 +199,7 @@ MagickExport void *GetImageRegistry(const RegistryType type,const char *key, return((void *) NULL); registry_info=(RegistryInfo *) GetValueFromSplayTree(registry,key); if (registry_info == (void *) NULL) - { - (void) ThrowMagickException(exception,GetMagickModule(),RegistryError, - "UnableToGetRegistryID","`%s'",key); - return((void *) NULL); - } + return((void *) NULL); value=(void *) NULL; switch (type) {