From 996926530bc2da34f616d01b8f94c0ed7884aaeb Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Sun, 19 Jul 2015 19:26:02 +0200 Subject: 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 Reviewed-on: http://review.gluster.org/11717 Reviewed-by: soumya k Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Kaleb KEITHLEY --- api/src/glfs-fops.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'api') 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"); -- cgit