From d20bf5113875b694b9dae0b75261feafc243c004 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Mon, 19 Jul 2010 05:12:53 +0000 Subject: Remove dead assignment reported by clang. Signed-off-by: Sachidananda Urs Signed-off-by: Anand V. Avati BUG: 1130 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1130 --- xlators/features/locks/src/entrylk.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/features/locks') diff --git a/xlators/features/locks/src/entrylk.c b/xlators/features/locks/src/entrylk.c index 603e73da046..ffdac707617 100644 --- a/xlators/features/locks/src/entrylk.c +++ b/xlators/features/locks/src/entrylk.c @@ -591,7 +591,6 @@ pl_common_entrylk (call_frame_t *frame, xlator_t *this, void * transport = NULL; pid_t pid = -1; - uint64_t owner = -1; pl_inode_t * pinode = NULL; int ret = -1; @@ -619,7 +618,6 @@ pl_common_entrylk (call_frame_t *frame, xlator_t *this, entrylk_trace_in (this, frame, volume, fd, loc, basename, cmd, type); pid = frame->root->pid; - owner = (uint64_t)(long) frame->root; transport = frame->root->trans; if (pid == 0) { -- cgit