remove redundant assignment
This commit is contained in:
parent
ab71a3dd74
commit
34e5a59196
@ -30,7 +30,7 @@ TreeNode *addToTree(TreeNode *root, const void *data, size_t dataSize, CompareFc
|
|||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
insertedNode->data = memcpy(insertedNode->data, data, dataSize);
|
memcpy(insertedNode->data, data, dataSize);
|
||||||
// reset isDuplicate if it exists
|
// reset isDuplicate if it exists
|
||||||
if (isDuplicate)
|
if (isDuplicate)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user