Commit bc73810b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't initialize a variable twice

parent e9c68c47
......@@ -1975,7 +1975,7 @@ static void httpd_HostThread( httpd_host_t *host )
fd_set fds_write;
/* FIXME: (too) many int variables */
int fd, i_fd;
int i_handle_max = 0;
int i_handle_max = -1;
int i_ret;
int i_client;
int b_low_delay = 0;
......@@ -1991,8 +1991,6 @@ static void httpd_HostThread( httpd_host_t *host )
FD_ZERO( &fds_read );
FD_ZERO( &fds_write );
i_handle_max = -1;
for( i_fd = 0; (fd = host->fd[i_fd]) != -1; i_fd++ )
{
FD_SET( fd, &fds_read );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment