bridges/source/cpp_uno/gcc3_linux_intel/except.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit aca3a4c36f420c1c21ccdcc46953b2df1edc2e33
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Dec 11 17:35:37 2018 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Dec 11 17:35:37 2018 +0100

    -Werror,-Wunused-variable
    
    Change-Id: Ia6b57f0cf508686c437027e5753258169c18b0f7

diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx 
b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
index ad3350d50fc5..1438312d90ff 100644
--- a/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx
@@ -176,6 +176,8 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription 
*pTypeDescr )
                 pair< t_rtti_map::iterator, bool > insertion(
                     m_generatedRttis.insert( t_rtti_map::value_type( unoName, 
rtti ) ) );
                 SAL_WARN_IF( !insertion.second, "bridges", "### inserting new 
generated rtti failed?!" );
+#else
+                (void) rttiName; // silence -Wunused-variable
 #endif
             }
             else // taking already generated rtti
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to