summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2015-07-19 19:26:02 +0200
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-07-24 07:24:37 -0700
commit996926530bc2da34f616d01b8f94c0ed7884aaeb (patch)
tree4846ef94146ad205b5586dd4de475c8dbe7c111f
parenta909ccfa1b4cbf656c4608ef2124347851c492cb (diff)
gfapi: remove unused variables in priv_glfs_process_upcall_event()
Compiling on NetBSD shows these trivial warnings: api/src/glfs-fops.c: In function 'priv_glfs_process_upcall_event': api/src/glfs-fops.c:3873:29: warning: unused variable 'object' api/src/glfs-fops.c:3869:28: warning: unused variable 'gfid' BUG: 1202274 Change-Id: If0101c64da2333b05958838f58761534ef341d62 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/11717 Reviewed-by: soumya k <skoduri@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
-rw-r--r--api/src/glfs-fops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c
index ce52ba5554c..ff85f7b8322 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -3799,11 +3799,9 @@ void
priv_glfs_process_upcall_event (struct glfs *fs, void *data)
{
int ret = -1;
- uuid_t gfid;
upcall_entry *u_list = NULL;
glusterfs_ctx_t *ctx = NULL;
struct gf_upcall *upcall_data = NULL;
- struct glfs_object *object = NULL;
gf_log (THIS->name, GF_LOG_DEBUG,
"Upcall gfapi callback is called");