]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 29 Jan 2013 15:07:19 +0000 (15:07 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 29 Jan 2013 15:07:19 +0000 (15:07 +0000)
MagickCore/cache.c

index 6fd35025ba3d731d4c61424d09eb0f76b34770f8..e19b627be9b7126c597a6406b801cebe19b3c260 100644 (file)
@@ -408,7 +408,7 @@ MagickPrivate Cache ClonePixelCache(const Cache cache)
   const CacheInfo
     *cache_info;
 
-  assert(cache != (const Cache) NULL);
+  assert(cache != NULL);
   cache_info=(const CacheInfo *) cache;
   assert(cache_info->signature == MagickSignature);
   if (cache_info->debug != MagickFalse)
@@ -3598,7 +3598,7 @@ static MagickBooleanType OpenPixelCache(Image *image,const MapMode mode,
                   (void) LogMagickEvent(CacheEvent,GetMagickModule(),"%s",
                     message);
                 }
-              return(status);
+              return(MagickTrue);
             }
         }
       (void) ThrowMagickException(exception,GetMagickModule(),CacheError,