mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
LibCore: Initialize pid/id variables in CoreIPC{Client,Server}
Also rename CoreIPCServer::m_pid to m_client_pid for clarification. Found by PVS-Studio.
This commit is contained in:
parent
4271bebbef
commit
ab8891c064
2 changed files with 7 additions and 7 deletions
|
@ -232,8 +232,8 @@ namespace Client {
|
|||
CLocalSocket m_connection;
|
||||
CNotifier m_notifier;
|
||||
Vector<IncomingMessageBundle> m_unprocessed_bundles;
|
||||
int m_server_pid;
|
||||
int m_my_client_id;
|
||||
int m_server_pid { -1 };
|
||||
int m_my_client_id { -1 };
|
||||
};
|
||||
|
||||
} // Client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue