summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2013-08-15 07:23:45 -0700
committerGerrit Code Review <review@dev.gluster.org>2013-08-15 07:23:45 -0700
commit1cae104b98a6d9488ef1890709c68af0fbf1c654 (patch)
tree1ae5f40a1a047142eb038b0acddd96dec16728d4
parent9674b6dbe914a980726df4f70f86ca523b112ae2 (diff)
parent89d849c31c0f0c76cc4a74a2f46b98f32ae1c9fe (diff)
Merge "mgmt/glusterd: Initialize auto variables" into upstream_on_quota
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-quota.c b/xlators/mgmt/glusterd/src/glusterd-quota.c
index f8c2fd15..0592585d 100644
--- a/xlators/mgmt/glusterd/src/glusterd-quota.c
+++ b/xlators/mgmt/glusterd/src/glusterd-quota.c
@@ -607,7 +607,7 @@ glusterd_set_quota_limit (char *volname, char *path, char *hard_limit,
struct quota_limits {
uint64_t hl;
uint64_t sl;
- } __attribute__ ((__packed__)) existing_limit, new_limit;
+ } __attribute__ ((__packed__)) existing_limit, new_limit = {0,};
this = THIS;
GF_ASSERT (this);