From a004a82ee3911d654bf5be6484ed2038b7195b2e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 1 Nov 2012 13:53:20 +1100 Subject: [PATCH] uninitalised use --- lib/isc/unix/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index a0b8f9d0e5..874f4641fc 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -5965,7 +5965,7 @@ _socktype(isc_sockettype_t type) ISC_SOCKETFUNC_SCOPE int isc_socketmgr_renderxml(isc_socketmgr_t *mgr0, xmlTextWriterPtr writer) { isc__socketmgr_t *mgr = (isc__socketmgr_t *)mgr0; - isc__socket_t *sock; + isc__socket_t *sock = NULL; char peerbuf[ISC_SOCKADDR_FORMATSIZE]; isc_sockaddr_t addr; ISC_SOCKADDR_LEN_T len;