summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libglusterfs/src/event.c b/libglusterfs/src/event.c
index 7ac891fa122..3243e7f2320 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);
{