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

New commits:
commit 18d2c7e82dbbe708925588d101e7c59a5b9327a1
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Thu Jul 7 11:37:21 2022 +0300
Commit:     Andras Timar <[email protected]>
CommitDate: Sat Jan 28 20:24:24 2023 +0000

    Avoid compiler warning
    
    Change-Id: I322b2c0ea14bbf8ed2fe1a306c0ed28f5e5ae258
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136875
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Tor Lillqvist <[email protected]>
    (cherry picked from commit ece304df9ad2aa0f974927320a1324c06b89f337)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146076
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <[email protected]>

diff --git a/desktop/source/deployment/misc/dp_misc.cxx 
b/desktop/source/deployment/misc/dp_misc.cxx
index bbe3a085fc68..ea5c737c2d7b 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -515,7 +515,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