summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-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 7ac891fa1..3243e7f23 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);
{