[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - include/comphelper

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 29 20:14:19 UTC 2021


 include/comphelper/profilezone.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 86f84bc3475358aed4d6154a04554dd0064ec61f
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Apr 29 11:24:56 2021 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Apr 29 22:13:38 2021 +0200

    cid#1477405 Initialize members
    
    Change-Id: I6e546875cf61394e0001000994fccbd8d6626428
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114872
    Tested-by: Tor Lillqvist <tml at collabora.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

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)
         {


More information about the Libreoffice-commits mailing list