From 6e60a6f97171c0272871d2010a6fceefba38531e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 19 Nov 2013 10:51:45 +0100 Subject: -Werror,-Wunused-variable Change-Id: Ieac2e725b2baad29dedb225d6009b2abe421be04 --- testtools/source/bridgetest/bridgetest.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'testtools') diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx index a82bfc28f795..fc03a853887a 100644 --- a/testtools/source/bridgetest/bridgetest.cxx +++ b/testtools/source/bridgetest/bridgetest.cxx @@ -270,14 +270,12 @@ static sal_Bool performAnyTest( const Reference< XBridgeTest > &xLBT, const Test Any a; { a.setValue( &(data.Bool) , getCppuBooleanType() ); - Any a2 = xLBT->transportAny( a ); - OSL_ASSERT( a2 == a ); + OSL_ASSERT( xLBT->transportAny( a ) == a ); } { a.setValue( &(data.Char) , getCppuCharType() ); - Any a2 = xLBT->transportAny( a ); - OSL_ASSERT( a2 == a ); + OSL_ASSERT( xLBT->transportAny( a ) == a ); } return bReturn; -- cgit