summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-08-22 14:55:09 +0530
committerVijay Bellur <vijay@gluster.com>2011-08-22 02:50:26 -0700
commitd9ead57226faf82f3f1375a29e06d348625ba905 (patch)
tree6339dc3b93e207c1a74c621438ca73d55c4d9bed /libglusterfs/src
parent4f9396545ba9c91d4bebfc81148c0082237141f4 (diff)
mgmt/glusterd: Initialize local variable in volgen
Change-Id: I84b4f7c9c2787334ce67e5c3e0534953b691c8e0 BUG: 3460 Reviewed-on: http://review.gluster.com/295 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/xlator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
index e826228ed31..42c701a2d8e 100644
--- a/libglusterfs/src/xlator.c
+++ b/libglusterfs/src/xlator.c
@@ -156,7 +156,6 @@ xlator_volopt_dynload (char *xlator_type, void **dl_handle,
}
*dl_handle = handle;
- INIT_LIST_HEAD (&opt_list->list);
vol_opt = GF_CALLOC (1, sizeof (volume_opt_list_t),
gf_common_mt_volume_opt_list_t);