Browse code

- warning fix

Andrei Pelinescu-Onciul authored on 02/03/2008 15:30:52
Showing 1 changed files
... ...
@@ -3101,6 +3101,7 @@ inline static int handle_tcpconn_ev(struct tcp_connection* tcpconn, short ev,
3101 3101
 	/* pass it to child, so remove it from the io watch list  and the local
3102 3102
 	 *  timer */
3103 3103
 #ifdef TCP_BUF_WRITE
3104
+	empty_q=0; /* warning fix */
3104 3105
 	if (unlikely((ev & (POLLOUT|POLLERR|POLLHUP)) &&
3105 3106
 					(tcpconn->flags & F_CONN_WRITE_W))){
3106 3107
 		if (unlikely((ev & (POLLERR|POLLHUP)) ||