summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/NetworkProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/NetworkProxy.cpp')
-rw-r--r--cpp/src/Ice/NetworkProxy.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/Ice/NetworkProxy.cpp b/cpp/src/Ice/NetworkProxy.cpp
index c2630b380d9..4c974e04654 100644
--- a/cpp/src/Ice/NetworkProxy.cpp
+++ b/cpp/src/Ice/NetworkProxy.cpp
@@ -81,7 +81,6 @@ private:
SOCKSNetworkProxy::SOCKSNetworkProxy(const string& host, int port) : _host(host), _port(port)
{
assert(!host.empty());
- memset(&_address, 0, sizeof(_address));
}
SOCKSNetworkProxy::SOCKSNetworkProxy(const Address& addr) : _port(0), _address(addr)
@@ -194,7 +193,6 @@ HTTPNetworkProxy::HTTPNetworkProxy(const string& host, int port) :
_host(host), _port(port), _protocol(EnableBoth)
{
assert(!host.empty());
- memset(&_address, 0, sizeof(_address));
}
HTTPNetworkProxy::HTTPNetworkProxy(const Address& addr, ProtocolSupport protocol) :