diff --git a/session.c b/session.c index 6242a156..cdfddb6a 100644 --- a/session.c +++ b/session.c @@ -190,7 +190,6 @@ session_next_session(struct session *s) if (ARRAY_LENGTH(&sessions) == 0 || session_index(s, &i) != 0) return (NULL); - i = 0; do { if (i == ARRAY_LENGTH(&sessions) - 1) i = 0;