diff options
author | Nikias Bassen | 2014-04-02 02:27:15 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-04-02 02:27:15 +0200 |
commit | 88528c2ead70c489d8181e02cfb0b07efcebfd9e (patch) | |
tree | 37a0da712503d311f7320c0bc4bc4d37bc84948a /src | |
parent | e1a4bd03ec843ac7bd12aab143c66bd5e2c5eb15 (diff) | |
download | libplist-88528c2ead70c489d8181e02cfb0b07efcebfd9e.tar.gz libplist-88528c2ead70c489d8181e02cfb0b07efcebfd9e.tar.bz2 |
Simplify plist_dict_merge() after plist_dict_set_item() API change
Diffstat (limited to 'src')
-rw-r--r-- | src/plist.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plist.c b/src/plist.c index eeb4ffd..940362e 100644 --- a/src/plist.c +++ b/src/plist.c @@ -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; |