Kaydet (Commit) a57304a5 authored tarafından Julien Nabet's avatar Julien Nabet

Fix WaE variable ‘eUIState’ set but not used

üst f0dff0d9
...@@ -64,7 +64,6 @@ protected: ...@@ -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: ...@@ -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.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment