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

New commits:
commit ece304df9ad2aa0f974927320a1324c06b89f337
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Jul 7 11:37:21 2022 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Jul 7 12:01:44 2022 +0200

    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 f4437711dab5..ad2763bb804c 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -513,7 +513,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