removed wrong isduplicate assignment

This commit is contained in:
Jonas Hofmann 2025-12-13 15:23:28 +01:00
parent 8e76b27760
commit 111b9c5532
3 changed files with 2 additions and 1 deletions

View File

@ -87,11 +87,12 @@ TreeNode *addToTreeRec(TreeNode *currentNode, TreeNode *newNode, CompareFctType
*isDuplicate = 1;
}
}
/*
if (isDuplicate != NULL)
{
*isDuplicate = 0;
}
*/
return currentNode;
}

BIN
bintree.o

Binary file not shown.

Binary file not shown.