Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Dec 13, 2024
1 parent 9ba1c43 commit 6070f21
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions magick/splay-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,11 +680,9 @@ MagickExport MagickBooleanType DeleteNodeFromSplayTree(
*/
MagickExport SplayTreeInfo *DestroySplayTree(SplayTreeInfo *splay_tree)
{
NodeInfo
*node;

NodeInfo
*active,
*node,
*pend;

LockSemaphoreInfo(splay_tree->semaphore);
Expand Down Expand Up @@ -1027,14 +1025,12 @@ static int IterateOverSplayTree(SplayTreeInfo *splay_tree,
final_transition;

NodeInfo
*node,
**nodes;

ssize_t
i;

NodeInfo
*node;

TransitionType
transition;

Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -1519,11 +1513,9 @@ static NodeInfo *Splay(SplayTreeInfo *splay_tree,const size_t depth,
int
compare;

NodeInfo
**next;

NodeInfo
*n,
**next,
*p;

n=(*node);
Expand Down

0 comments on commit 6070f21

Please sign in to comment.