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>
This commit is contained in:
Humble Devassy Chirammal 2015-03-18 15:25:08 +05:30 committed by Niels de Vos
parent ee7bde14cd
commit dbd62a8d2b

View File

@ -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;