[Libreoffice-commits] core.git: include/comphelper

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 29 09:58:42 UTC 2021


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

New commits:
commit c1c4d50d08eff7a38617839a896392a34c5183a2
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 11:57:57 2021 +0200

    cid#1477405 Initialize members
    
    Change-Id: I6e546875cf61394e0001000994fccbd8d6626428
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114837
    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 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)
         {


More information about the Libreoffice-commits mailing list