LibCore: Initialise m_port as zero in CSocketAddress

This commit is contained in:
Conrad Pankoff 2019-08-06 22:58:32 +10:00 committed by Andreas Kling
parent 6f75d96689
commit da615e46cd
Notes: sideshowbarker 2024-07-19 12:51:14 +09:00

View file

@ -75,7 +75,7 @@ public:
private:
Type m_type { Type::Invalid };
IPv4Address m_ipv4_address;
u16 m_port;
u16 m_port { 0 };
String m_local_address;
};