mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
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: da615e46cd
Pull-request: https://github.com/SerenityOS/serenity/pull/414
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public:
|
||||||
private:
|
private:
|
||||||
Type m_type { Type::Invalid };
|
Type m_type { Type::Invalid };
|
||||||
IPv4Address m_ipv4_address;
|
IPv4Address m_ipv4_address;
|
||||||
u16 m_port;
|
u16 m_port { 0 };
|
||||||
String m_local_address;
|
String m_local_address;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue