LibCore: Initialise m_port as zero in CSocketAddress
This commit is contained in:
parent
6f75d96689
commit
da615e46cd
Notes:
sideshowbarker
2024-07-19 12:51:14 +09:00
Author: https://github.com/deoxxa Commit: https://github.com/SerenityOS/serenity/commit/da615e46cdf Pull-request: https://github.com/SerenityOS/serenity/pull/414
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue