diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-19 10:51:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-19 12:29:51 +0100 |
commit | 6e60a6f97171c0272871d2010a6fceefba38531e (patch) | |
tree | e7603dc03135f5c08f18722cb236732853673068 /testtools | |
parent | 3d12549335229aca1a6a57575292111274709992 (diff) |
-Werror,-Wunused-variable
Change-Id: Ieac2e725b2baad29dedb225d6009b2abe421be04
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/bridgetest/bridgetest.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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; |