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:
parent
ee7bde14cd
commit
dbd62a8d2b
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user