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

New commits:
commit 86f84bc3475358aed4d6154a04554dd0064ec61f
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Thu Apr 29 11:24:56 2021 +0300
Commit:     Tor Lillqvist <[email protected]>
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 <[email protected]>
    Reviewed-by: Tor Lillqvist <[email protected]>

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)
         {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to