]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 16 Sep 2017 12:55:35 +0000 (08:55 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 16 Sep 2017 12:55:35 +0000 (08:55 -0400)
MagickCore/cache.c

index 807e21237857e2b2b8deeeb4f3a2bb451a155004..9349d15fd888610915a76a9f9fef16ce2afb4261 100644 (file)
@@ -150,9 +150,6 @@ static void
 /*
   Global declarations.
 */
-static volatile MagickBooleanType
-  instantiate_cache = MagickFalse;
-
 static SemaphoreInfo
   *cache_semaphore = (SemaphoreInfo *) NULL;
 
@@ -373,9 +370,7 @@ MagickPrivate void CacheComponentTerminus(void)
 {
   if (cache_semaphore == (SemaphoreInfo *) NULL)
     ActivateSemaphoreInfo(&cache_semaphore);
-  LockSemaphoreInfo(cache_semaphore);
-  instantiate_cache=MagickFalse;
-  UnlockSemaphoreInfo(cache_semaphore);
+  /* no op-- nothing to destroy */
   RelinquishSemaphoreInfo(&cache_semaphore);
 }
 \f