summaryrefslogtreecommitdiffstats
path: root/common/userpref.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/userpref.c')
-rw-r--r--common/userpref.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/userpref.c b/common/userpref.c
index 3399036..4209e96 100644
--- a/common/userpref.c
+++ b/common/userpref.c
@@ -1037,11 +1037,6 @@ userpref_error_t pair_record_set_item_from_key_data(plist_t pair_record, const c
return USERPREF_E_INVALID_ARG;
}
- /* remove any existing item */
- if (plist_dict_get_item(pair_record, name)) {
- plist_dict_remove_item(pair_record, name);
- }
-
/* set new item */
plist_dict_set_item(pair_record, name, plist_new_data((char*)value->data, value->size));