Author: mturk
Date: Thu Feb  9 01:05:50 2006
New Revision: 376231

URL: http://svn.apache.org/viewcvs?rev=376231&view=rev
Log:
Fix compile time warnings, as well as case where the send length is 0 (should 
never happen)

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

Modified: tomcat/connectors/trunk/jni/native/src/network.c
URL: 
http://svn.apache.org/viewcvs/tomcat/connectors/trunk/jni/native/src/network.c?rev=376231&r1=376230&r2=376231&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/src/network.c (original)
+++ tomcat/connectors/trunk/jni/native/src/network.c Thu Feb  9 01:05:50 2006
@@ -564,7 +564,7 @@
     apr_size_t nbytes = (apr_size_t)len;
     apr_size_t sent = 0;
     char *bytes;
-    apr_status_t ss;
+    apr_status_t ss = APR_SUCCESS;
 
     UNREFERENCED(o);
     TCN_ASSERT(sock != 0);
@@ -601,7 +601,7 @@
     tcn_socket_t *s = J2P(sock, tcn_socket_t *);
     apr_size_t nbytes = (apr_size_t)len;
     apr_size_t sent = 0;
-    apr_status_t ss;
+    apr_status_t ss = APR_SUCCESS;
 
     UNREFERENCED_STDARGS;
     TCN_ASSERT(sock != 0);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to