Commit dabda796 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

WinDebugInterface: Use member initialization



Use member initialization to make sure everything is properly initialized,
even when not on windows.

Change-Id: I585476556fd83f493a68b26dcecd26dd772122e2
Reviewed-by: Friedemann Kleint's avatarFriedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 1d921ae0
......@@ -54,11 +54,11 @@ private:
static WinDebugInterface *m_instance;
qint64 m_creatorPid;
Qt::HANDLE m_waitHandles[HandleCount];
Qt::HANDLE m_bufferReadyEvent;
Qt::HANDLE m_sharedFile;
void *m_sharedMem;
qint64 m_creatorPid = -1;
Qt::HANDLE m_waitHandles[HandleCount] = {};
Qt::HANDLE m_bufferReadyEvent = nullptr;
Qt::HANDLE m_sharedFile = nullptr;
void *m_sharedMem = nullptr;
};
} // namespace Internal
......
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