Author: carnold
Date: Fri Nov  9 11:35:24 2007
New Revision: 593631

URL: http://svn.apache.org/viewvc?rev=593631&view=rev
Log:
LOGCXX-205: Initialize address, didn't affect valgrind report

Modified:
    logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp

Modified: logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp
URL: 
http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp?rev=593631&r1=593630&r2=593631&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/inetaddress.cpp Fri Nov  9 11:35:24 2007
@@ -55,7 +55,7 @@
     // retrieve information about the given host
     Pool addrPool;
 
-    apr_sockaddr_t *address;
+    apr_sockaddr_t *address = 0;
     apr_status_t status = 
         apr_sockaddr_info_get(&address, encodedHost.c_str(),
                               APR_INET, 0, 0, (apr_pool_t*) 
addrPool.getAPRPool());


Reply via email to