diff options
Diffstat (limited to 'cpp/src/IceSSL/Util.cpp')
-rw-r--r-- | cpp/src/IceSSL/Util.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp index 628641df9dc..2298170812c 100644 --- a/cpp/src/IceSSL/Util.cpp +++ b/cpp/src/IceSSL/Util.cpp @@ -475,7 +475,10 @@ IceSSL::populateConnectionInfo(SSL* ssl, SOCKET fd, const string& adapterName, b IceInternal::fdToLocalAddress(fd, info.localAddr); - bool peerConnected = IceInternal::fdToRemoteAddress(fd, info.remoteAddr); +#ifndef NDEBUG + bool peerConnected = +#endif + IceInternal::fdToRemoteAddress(fd, info.remoteAddr); assert(peerConnected); return info; |