From: cristy Date: Sat, 30 May 2015 18:09:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~983 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=019e8f4fddd1e58d9d2954b93e4e8552c90a72d5;p=imagemagick --- diff --git a/MagickCore/cache.c b/MagickCore/cache.c index 5c2ae6a77..c4c36f5e7 100644 --- a/MagickCore/cache.c +++ b/MagickCore/cache.c @@ -575,11 +575,7 @@ static MagickBooleanType ClonePixelCacheRepository( return(MagickTrue); } if ((cache_info->type == DiskCache) && (cache_info->type == DiskCache)) - { - status=ClonePixelCacheOnDisk(cache_info,clone_info,exception); - if (status != MagickFalse) - return(status); - } + return(ClonePixelCacheOnDisk(cache_info,clone_info,exception)); } /* Mismatched pixel cache morphology.