ucb/source/ucp/webdav-curl/CurlSession.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d7362bf487e54fccdad8a5b73be8181872384a47
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Nov 26 08:58:54 2021 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Nov 26 14:09:33 2021 +0100

    cid#1494446 Uninitialized scalar field
    
    Change-Id: Ib8e1d0e691772e822f81afafbd47ba33698b592e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125839
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Jenkins

diff --git a/ucb/source/ucp/webdav-curl/CurlSession.hxx 
b/ucb/source/ucp/webdav-curl/CurlSession.hxx
index 563f7c3675dd..75ccf682692c 100644
--- a/ucb/source/ucp/webdav-curl/CurlSession.hxx
+++ b/ucb/source/ucp/webdav-curl/CurlSession.hxx
@@ -39,7 +39,7 @@ private:
     /// read timeout in milliseconds (connection timeout is stored in m_pCurl)
     int m_nReadTimeout = 0;
     /// flag to signal abort to transferring thread
-    ::std::atomic<bool> m_AbortFlag;
+    ::std::atomic<bool> m_AbortFlag = false;
 
     /// libcurl multi handle
     ::std::unique_ptr<CURLM, deleter_from_fn<CURLM, curl_multi_cleanup>> 
m_pCurlMulti;

Reply via email to