Fix WaE variable ‘eUIState’ set but not used

This commit is contained in:
Julien Nabet
2011-11-08 19:50:06 +01:00
parent f0dff0d9d1
commit a57304a538

View File

@@ -64,7 +64,6 @@ protected:
// test the checkForUpdates() method // test the checkForUpdates() method
void testCheckForUpdates() void testCheckForUpdates()
{ {
UpdateState eUIState = UPDATESTATE_NO_UPDATE_AVAIL;
UpdateInfo aInfo; UpdateInfo aInfo;
rtl::Reference< UpdateCheck > aController( UpdateCheck::get() ); rtl::Reference< UpdateCheck > aController( UpdateCheck::get() );
@@ -73,7 +72,6 @@ protected:
if ( checkForUpdates( aInfo, m_xContext, aController->getInteractionHandler(), m_xProvider ) ) if ( checkForUpdates( aInfo, m_xContext, aController->getInteractionHandler(), m_xProvider ) )
{ {
aController->setUpdateInfo( aInfo ); aController->setUpdateInfo( aInfo );
eUIState = aController->getUIState( aInfo );
} }
else else
CPPUNIT_FAIL("Calling checkForUpdates() failed."); CPPUNIT_FAIL("Calling checkForUpdates() failed.");