Commit f6f439a32 for imagemagick.org
commit f6f439a3299f8d7f6bce0870841ff7aab6ca67b3
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Tue Aug 11 19:02:57 2026 +0200
Removed variable that is only set but never read.
diff --git a/MagickWand/wand.c b/MagickWand/wand.c
index 73c9a4dcb..f118f7c68 100644
--- a/MagickWand/wand.c
+++ b/MagickWand/wand.c
@@ -50,9 +50,6 @@
static SplayTreeInfo
*wand_ids = (SplayTreeInfo *) NULL;
-static MagickBooleanType
- instantiate_wand = MagickFalse;
-
static SemaphoreInfo
*wand_semaphore = (SemaphoreInfo *) NULL;
@@ -91,7 +88,6 @@ WandExport size_t AcquireWandId(void)
wand_id=id++;
(void) AddValueToSplayTree(wand_ids,(const void *) wand_id,(const void *)
wand_id);
- instantiate_wand=MagickTrue;
UnlockSemaphoreInfo(wand_semaphore);
return((size_t) wand_id);
}
@@ -123,7 +119,6 @@ WandExport void DestroyWandIds(void)
LockSemaphoreInfo(wand_semaphore);
if (wand_ids != (SplayTreeInfo *) NULL)
wand_ids=DestroySplayTree(wand_ids);
- instantiate_wand=MagickFalse;
UnlockSemaphoreInfo(wand_semaphore);
RelinquishSemaphoreInfo(&wand_semaphore);
}