desktop/source/deployment/misc/dp_misc.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit ac51e7f8be0b3321000e2878b3a702b6348f8fbd
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Jul 7 11:37:21 2022 +0300
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Jan 24 14:48:26 2023 +0100

    Avoid compiler warning
    
    Change-Id: I322b2c0ea14bbf8ed2fe1a306c0ed28f5e5ae258
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136875
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/desktop/source/deployment/misc/dp_misc.cxx 
b/desktop/source/deployment/misc/dp_misc.cxx
index 2983de24b959..04724ab0da64 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -514,7 +514,9 @@ void syncRepositories(
                 Reference<task::XAbortChannel>(), xCmdEnv);
         }
     }
-#if !HAVE_FEATURE_MACOSX_SANDBOX
+#if HAVE_FEATURE_MACOSX_SANDBOX
+    (void) bModified;
+#else
     if (bModified && !comphelper::LibreOfficeKit::isActive())
     {
         Reference<task::XRestartManager> 
restarter(task::OfficeRestartManager::get(comphelper::getProcessComponentContext()));

Reply via email to