From aafa06fa15f1ef274fef2df9e939323ed61e670e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 18 Nov 2019 10:49:52 +0100 Subject: Common 27ac70f: Initialise InetAddress::addr --- contrib/Socket.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/Socket.cpp') diff --git a/contrib/Socket.cpp b/contrib/Socket.cpp index cba2767..50a12ba 100644 --- a/contrib/Socket.cpp +++ b/contrib/Socket.cpp @@ -69,7 +69,8 @@ void InetAddress::resolveUdpDestination(const std::string& destination, int port UDPPacket::UDPPacket() { } UDPPacket::UDPPacket(size_t initSize) : - buffer(initSize) + buffer(initSize), + address() { } -- cgit v1.2.3