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 22:13:38 +0200
commit86f84bc3475358aed4d6154a04554dd0064ec61f (patch)
treeabff9e65234ae960fd247f3a08f5f9d7577a837c
parent76451767b9c6bb90704265d109fc32c861a3c7cd (diff)
cid#1477405 Initialize members
Change-Id: I6e546875cf61394e0001000994fccbd8d6626428 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114872 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 a8570a36e9ba..6274617f9f70 100644
--- a/include/comphelper/profilezone.hxx
+++ b/include/comphelper/profilezone.hxx
@@ -38,6 +38,8 @@ class COMPHELPER_DLLPUBLIC ProfileZone : public NamedEvent
// lifetime.
ProfileZone(const char* sName)
: NamedEvent(sName)
+ , m_nPid(-1)
+ , m_nNesting(-1)
{
if (s_bRecording)
{