tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r693044 - /tomcat/connectors/trunk/jni/native/src/poll.c
Date Mon, 08 Sep 2008 10:19:14 GMT
Author: jfclere
Date: Mon Sep  8 03:19:13 2008
New Revision: 693044

URL: http://svn.apache.org/viewvc?rev=693044&view=rev
Log:
Prevent warning on Solaris 8.

Modified:
    tomcat/connectors/trunk/jni/native/src/poll.c

Modified: tomcat/connectors/trunk/jni/native/src/poll.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/src/poll.c?rev=693044&r1=693043&r2=693044&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/src/poll.c (original)
+++ tomcat/connectors/trunk/jni/native/src/poll.c Mon Sep  8 03:19:13 2008
@@ -281,7 +281,7 @@
     tcn_pollset_t *p = J2P(pollset,  tcn_pollset_t *);
     apr_int32_t  i, num = 0;
     apr_status_t rv = APR_SUCCESS;
-    apr_time_t now;
+    apr_time_t now = 0;
     apr_interval_time_t ptime = J2T(timeout);
     UNREFERENCED(o);
     TCN_ASSERT(pollset != 0);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message