diff options
Diffstat (limited to 'libglusterfs/src/dict.c')
-rw-r--r-- | libglusterfs/src/dict.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index 771dcbbc473..ce094d764b4 100644 --- a/libglusterfs/src/dict.c +++ b/libglusterfs/src/dict.c @@ -2362,8 +2362,6 @@ dict_set_bin (dict_t *this, char *key, void *ptr, size_t size) goto err; } - data->data = ptr; - data->len = size; data->is_static = 0; ret = dict_set (this, key, data); @@ -2392,10 +2390,6 @@ dict_set_static_bin (dict_t *this, char *key, void *ptr, size_t size) goto err; } - data->data = ptr; - data->len = size; - data->is_static = 1; - ret = dict_set (this, key, data); if (ret < 0) data_destroy (data); |