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

New commits:
commit f8760d18b274cc7c943921d61c49c99176cd22b8
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 12:22:08 2021 +0100

    cid#1494446 Uninitialized scalar field
    
    Change-Id: Ib8e1d0e691772e822f81afafbd47ba33698b592e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125863
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Caolán McNamara <caol...@redhat.com>

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