summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-04-29 11:24:56 +0300
committerTor Lillqvist <tml@collabora.com>2021-04-29 11:57:57 +0200
commitc1c4d50d08eff7a38617839a896392a34c5183a2 (patch)
treeb51e23b611d39f2b279b9acc5ae0263ad673e331
parente0d0399da64021b6029618371d816bcbfd874f01 (diff)
cid#1477405 Initialize members
Change-Id: I6e546875cf61394e0001000994fccbd8d6626428 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114837 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--include/comphelper/profilezone.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/comphelper/profilezone.hxx b/include/comphelper/profilezone.hxx
index 8eda2d773ac0..3431c20efcea 100644
--- a/include/comphelper/profilezone.hxx
+++ b/include/comphelper/profilezone.hxx
@@ -51,6 +51,8 @@ public:
ProfileZone(const char* sName, bool bConsole = false)
: NamedEvent(sName)
, m_bConsole(bConsole)
+ , m_nPid(-1)
+ , m_nNesting(-1)
{
if (s_bRecording || m_bConsole)
{