summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-03-18 15:25:08 +0530
committerNiels de Vos <ndevos@redhat.com>2015-03-18 07:43:56 -0700
commitdbd62a8d2b50392fbed0a0781a4f241dadb8f506 (patch)
tree710ac484c4311c0e0b028dd91c2d99e422afd31e /xlators/features/marker/src
parentee7bde14cd8afa7752dbaecd72a4afe16fb7afa9 (diff)
marker: fix compile time warning on buf arg.
Problem: marker-quota.c: In function 'mq_inspect_directory_xattr_task': marker-quota.c:3451:31: warning: variable 'buf' set but not used [-Wunused-but-set-variable] struct iatt buf = {0,}; Change-Id: I211378328bdb2509a5d2a186d173f7f30a670c8a BUG: 1198849 Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/9928 Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/features/marker/src')
-rw-r--r--xlators/features/marker/src/marker-quota.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c
index 835108cc403..cc75922b9f2 100644
--- a/xlators/features/marker/src/marker-quota.c
+++ b/xlators/features/marker/src/marker-quota.c
@@ -3448,14 +3448,12 @@ mq_inspect_directory_xattr_task (void *opaque)
xlator_t *this = NULL;
loc_t *loc = NULL;
dict_t *dict = NULL;
- struct iatt buf = {0,};
GF_ASSERT (opaque);
args = (quota_synctask_t *) opaque;
loc = &args->loc;
dict = args->dict;
- buf = args->buf;
this = args->this;
THIS = this;