remove redundant assignment

This commit is contained in:
Simon Wiesend 2025-11-29 21:24:11 +01:00
parent ab71a3dd74
commit 34e5a59196
Signed by: wiesendsi102436
GPG Key ID: C18A833054142CF0

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)
{