summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2013-08-15 13:55:16 +0530
committerVijay Bellur <vbellur@redhat.com>2013-08-15 13:55:27 +0530
commit89d849c31c0f0c76cc4a74a2f46b98f32ae1c9fe (patch)
treeb60a7aeb4ca5cf9d7e824ab31c79c129c9b92953 /xlators/mgmt
parentc0aa8619ca9628e2f989272d1e90a01ce1ab282e (diff)
mgmt/glusterd: Initialize auto variables
Change-Id: I72e97bf57bd4103506324b5caf8dffb3fd7d7f71 Signed-off-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-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);