sfx2/source/view/viewfrm.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c39b832e85ae9e172f51c77c40d74949afcc0ac3
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Wed Feb 28 16:33:59 2024 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Thu Feb 29 07:54:30 2024 +0100

    Avoid -Werror,-Wunused-but-set-variable for ENABLE_WASM_STRIP_PINGUSER
    
    ...after 607740654f2264e13469e4da1d020448217d7222 "Resolves tdf#131550 -
    Suppress Donate/Involve infobar if another is visible"
    
    Change-Id: I1d788a0f71a5baa8ce427631485643f0fd6e626d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164102
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 31fd9471455c..20e56a6c4076 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1714,6 +1714,8 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const 
SfxHint& rHint )
                     officecfg::Setup::Product::LastTimeDonateShown::set(nNow, 
batch);
                     batch->commit();
                 }
+#else
+                (void) bIsInfobarShown;
 #endif
 
                 break;

Reply via email to