summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-07-23 14:51:53 +0300
committerTor Lillqvist <tml@iki.fi>2012-07-23 15:12:21 +0300
commit4b5f1d7b2d095e4b41434658b376b6de422bf573 (patch)
treec4c2a1b18600c62b912fca80a31137f468e56709 /stoc
parent9d1263d108244c172e682624557ca4d23ddfcd10 (diff)
WaE: unused variable
Change-Id: Ie355701716c7106ef2afd76ae8b6544a00ac474c
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index 02f715b933d1..72a880acf88a 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -863,6 +863,8 @@ Reference< XInterface > FactoryImpl::createAdapter(
{
pair< t_ptr_set::iterator, bool > insertion(
adapter_set->insert( pNew ) );
+ // Avoid unused variable warning
+ (void) insertion;
OSL_ASSERT( insertion.second );
that = pNew;
}