From 6070f21a69c6b0595af1460ab7ba7d58c92273b4 Mon Sep 17 00:00:00 2001 From: Cristy Date: Fri, 13 Dec 2024 14:40:42 -0500 Subject: [PATCH] ... --- magick/splay-tree.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/magick/splay-tree.c b/magick/splay-tree.c index 0a44badfc..7b7dd2cef 100644 --- a/magick/splay-tree.c +++ b/magick/splay-tree.c @@ -680,11 +680,9 @@ MagickExport MagickBooleanType DeleteNodeFromSplayTree( */ MagickExport SplayTreeInfo *DestroySplayTree(SplayTreeInfo *splay_tree) { - NodeInfo - *node; - NodeInfo *active, + *node, *pend; LockSemaphoreInfo(splay_tree->semaphore); @@ -1027,14 +1025,12 @@ static int IterateOverSplayTree(SplayTreeInfo *splay_tree, final_transition; NodeInfo + *node, **nodes; ssize_t i; - NodeInfo - *node; - TransitionType transition; @@ -1380,11 +1376,9 @@ MagickExport void *RemoveNodeFromSplayTree(SplayTreeInfo *splay_tree, */ MagickExport void ResetSplayTree(SplayTreeInfo *splay_tree) { - NodeInfo - *node; - NodeInfo *active, + *node, *pend; assert(splay_tree != (SplayTreeInfo *) NULL); @@ -1519,11 +1513,9 @@ static NodeInfo *Splay(SplayTreeInfo *splay_tree,const size_t depth, int compare; - NodeInfo - **next; - NodeInfo *n, + **next, *p; n=(*node);