aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Socket.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-18 10:50:42 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-18 10:50:42 +0100
commit54edf4c9c502d654eb1df194e26810a5999debc1 (patch)
treef272c5c17bc595689e61662c53af8e36339508e2 /lib/Socket.cpp
parent733318bc2d484b5b214aa215bb54a1beab7fadb4 (diff)
downloadODR-SourceCompanion-54edf4c9c502d654eb1df194e26810a5999debc1.tar.gz
ODR-SourceCompanion-54edf4c9c502d654eb1df194e26810a5999debc1.tar.bz2
ODR-SourceCompanion-54edf4c9c502d654eb1df194e26810a5999debc1.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()
{ }