Commit 88528c2e authored by Nikias Bassen's avatar Nikias Bassen

Simplify plist_dict_merge() after plist_dict_set_item() API change

parent e1a4bd03
......@@ -459,9 +459,6 @@ void plist_dict_merge(plist_t *target, plist_t source)
if (!key)
break;
if (plist_dict_get_item(*target, key) != NULL)
plist_dict_remove_item(*target, key);
plist_dict_set_item(*target, key, plist_copy(subnode));
free(key);
key = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment