From a1aa4f84cff24e7d92ae3e03058bd3ccb6fec60c Mon Sep 17 00:00:00 2001 From: brainbreaker Date: Tue, 11 Jul 2017 20:55:59 +0530 Subject: [PATCH] Supress unused variable warning in gcc arm bridge Change-Id: I78c9d6b5e6af73965cb422dfdbaec5a7f9b57fac Reviewed-on: https://gerrit.libreoffice.org/39829 Tested-by: Jenkins Reviewed-by: Noel Grandin --- bridges/source/cpp_uno/gcc3_linux_arm/except.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx index 44da1cd15089..a025c82f3e59 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/except.cxx @@ -157,6 +157,7 @@ namespace CPPU_CURRENT_NAMESPACE { pair< t_rtti_map::iterator, bool > insertion( m_rttis.insert( t_rtti_map::value_type( unoName, rtti ) ) ); + (void) insertion; assert(insertion.second && "### inserting new rtti failed?!"); } else @@ -199,6 +200,7 @@ namespace CPPU_CURRENT_NAMESPACE pair< t_rtti_map::iterator, bool > insertion( m_generatedRttis.insert( t_rtti_map::value_type( unoName, rtti ) ) ); + (void) insertion; assert(insertion.second && "### inserting new generated rtti failed?!"); } else // taking already generated rtti