From dbd62a8d2b50392fbed0a0781a4f241dadb8f506 Mon Sep 17 00:00:00 2001 From: Humble Devassy Chirammal Date: Wed, 18 Mar 2015 15:25:08 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/9928 Reviewed-by: Vijaikumar Mallikarjuna Reviewed-by: Kaleb KEITHLEY Reviewed-by: Niels de Vos Tested-by: Gluster Build System --- xlators/features/marker/src/marker-quota.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/features/marker') 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; -- cgit