summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-07-19 06:08:29 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-19 05:11:09 -0700
commit8f8739ea6709128f1a01ad26f677e8da12e0c726 (patch)
treeae15a5bbab8f2e2477f7d036600054b0ad7bcf87
parenta6b90707bf68fe62bf115cfb143d9df69627cb64 (diff)
Remove dead assignments.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1140 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1140
-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);
{