]> git.tue.mpg.de Git - paraslash.git/commitdiff
http_send.c: Kill unused variable "i".
authorAndre Noll <maan@systemlinux.org>
Mon, 4 Feb 2008 19:43:43 +0000 (20:43 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 4 Feb 2008 19:43:43 +0000 (20:43 +0100)
http_send.c

index f8ee656baa8f4c02b5386d724d5f9be55b5b3e95..ce2fd09c45ac71215dda23370b73faaf75fb8dc6 100644 (file)
@@ -98,16 +98,14 @@ static void http_send(long unsigned current_chunk,
 
 static void http_post_select(fd_set *rfds, __a_unused fd_set *wfds)
 {
-       int ret, i = -1, match;
+       int ret, match;
        struct sender_client *sc, *tmp;
        struct private_http_sender_data *phsd;
 
        if (listen_fd < 0)
                return;
        list_for_each_entry_safe(sc, tmp, &clients, node) {
-               i++;
                phsd = sc->private_data;
-//             PARA_DEBUG_LOG("handling client %d: %s\n", i, remote_name(sc->fd));
                switch (phsd->status) {
                case HTTP_STREAMING: /* nothing to do */
                        break;