summaryrefslogtreecommitdiffstats
path: root/lib/Socket.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-18 10:50:51 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-18 10:50:51 +0100
commit7d91eabe90e47e7c316f26566638cc88e1a8c2b4 (patch)
tree2227a9451168624e3b4e12ed0e624a8149712c87 /lib/Socket.cpp
parente619e89e6cf1c7bfe8199e2014d2c04c02c655c2 (diff)
downloaddabmod-7d91eabe90e47e7c316f26566638cc88e1a8c2b4.tar.gz
dabmod-7d91eabe90e47e7c316f26566638cc88e1a8c2b4.tar.bz2
dabmod-7d91eabe90e47e7c316f26566638cc88e1a8c2b4.zip
Common 27ac70f: Initialise InetAddress::addr
Diffstat (limited to 'lib/Socket.cpp')
-rw-r--r--lib/Socket.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Socket.cpp b/lib/Socket.cpp
index cba2767..50a12ba 100644
--- a/lib/Socket.cpp
+++ b/lib/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()
{ }