diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-08-01 19:14:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-08-01 19:19:05 +0300 |
commit | 55a8ae6cf6dc67085b78dd213d174ede69a788d5 (patch) | |
tree | 86b915f94379b89b63aad8addaf337f0d1c1ec36 /bridges/source | |
parent | 850d9be56d50a1b143d6afe679808723d6164e21 (diff) |
WaE: unused variable
Change-Id: I75e195be6bcedc972bc7c820c8c8efb648c91526
Diffstat (limited to 'bridges/source')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_ios_arm/except.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx index eba5d13c8c76..6f78313429cd 100644 --- a/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx +++ b/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx @@ -157,7 +157,9 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR { pair< t_rtti_map::iterator, bool > insertion( m_rttis.insert( t_rtti_map::value_type( unoName, rtti ) ) ); - OSL_ENSURE( insertion.second, "### inserting new rtti failed?!" ); + SAL_WARN_IF( !insertion.second, + "bridges", + "inserting new rtti failed" ); } else { @@ -188,7 +190,9 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR pair< t_rtti_map::iterator, bool > insertion( m_generatedRttis.insert( t_rtti_map::value_type( unoName, rtti ) ) ); - OSL_ENSURE( insertion.second, "### inserting new generated rtti failed?!" ); + SAL_WARN_IF( !insertion.second, + "bridges", + "inserting new generated rtti failed" ); } else // taking already generated rtti { |