Commit 1f9e0767 authored by Julian Helfferich's avatar Julian Helfferich

Fix Coverity #76279: Uninitialized member variables

Member variables mpGame and mSendLength were uninitialized in the
constructor of KBlocksNetPlayer. mpGame is now set to nullptr and
mSendLength to 0.
parent 2c10cda9
......@@ -16,7 +16,9 @@ KBlocksNetPlayer::KBlocksNetPlayer(GamePlayerInterface *player, const string &se
mpNetClient = new KBlocksNetClient(serverIP.c_str(), localPort);
mpPlayer = player;
mpGame = nullptr;
mSendLength = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment