Fix WaE variable ‘eUIState’ set but not used
This commit is contained in:
@@ -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.");
|
||||||
|
Reference in New Issue
Block a user