The warning is simply because gcc can't follow conditionals, but
this should be a safe fix if nobody minds.

....Roy

Index: poll.c
===================================================================
RCS file: /home/cvs/apr/poll/unix/poll.c,v
retrieving revision 1.28
diff -u -r1.28 poll.c
--- poll.c      7 Aug 2002 00:06:12 -0000       1.28
+++ poll.c      10 Aug 2002 03:03:13 -0000
@@ -212,7 +212,7 @@
     FD_ZERO(&exceptset);

     for (i = 0; i < num; i++) {
-        apr_os_sock_t fd;
+        apr_os_sock_t fd = 0;

         if (aprset[i].desc_type == APR_POLL_SOCKET) {
 #ifdef NETWARE



Reply via email to