remove redundant assignment

This commit is contained in:
2025-11-29 21:24:11 +01:00
parent ab71a3dd74
commit 34e5a59196
+1 -1
View File
@@ -30,7 +30,7 @@ TreeNode *addToTree(TreeNode *root, const void *data, size_t dataSize, CompareFc
{
return NULL;
}
insertedNode->data = memcpy(insertedNode->data, data, dataSize);
memcpy(insertedNode->data, data, dataSize);
// reset isDuplicate if it exists
if (isDuplicate)
{