summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-02-20 11:03:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-02-20 12:51:34 +0000
commit97ceff5bb949063f118835d67334aedf6d57420c (patch)
treeae271e8d3caac00629e51fef045b0a8a21efc17c /extensions/source
parentc1131cdab3eb21a14822409c05697a91b4beda3e (diff)
cid#1521188 Uninitialized scalar variable
Change-Id: I926bfa8167bbc94643587400825364f46db43063 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147319 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/update/check/updatecheck.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index dd4aa29ce312..46a4d8dbeb61 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -650,8 +650,7 @@ DownloadThread::run()
if( ! m_aDownload.start(m_aURL, aLocalFile, aDownloadDest ) )
{
// retry every 15s unless the dialog is not visible
- TimeValue tv;
- tv.Seconds = 15;
+ TimeValue tv(15, 0);
if( ! UpdateCheck::get()->isDialogShowing() )
{