From 8f8739ea6709128f1a01ad26f677e8da12e0c726 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Mon, 19 Jul 2010 06:08:29 +0000 Subject: Remove dead assignments. Signed-off-by: Sachidananda Urs Signed-off-by: Anand V. Avati BUG: 1140 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1140 --- libglusterfs/src/event.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libglusterfs/src/event.c') diff --git a/libglusterfs/src/event.c b/libglusterfs/src/event.c index 7ac891fa..3243e7f2 100644 --- a/libglusterfs/src/event.c +++ b/libglusterfs/src/event.c @@ -351,7 +351,6 @@ event_dispatch_poll_handler (struct event_pool *event_pool, handler = NULL; data = NULL; - idx = -1; pthread_mutex_lock (&event_pool->mutex); { @@ -785,7 +784,6 @@ event_dispatch_epoll_handler (struct event_pool *event_pool, event_data = (void *)&events[i].data; handler = NULL; data = NULL; - idx = -1; pthread_mutex_lock (&event_pool->mutex); { -- cgit