[Libreoffice-commits] .: extensions/qa

Julien Nabet serval2412 at kemper.freedesktop.org
Tue Nov 8 10:52:07 PST 2011


 extensions/qa/update/test_update.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit a57304a53832adf0c8a32b0c53d9be5b55507ab1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Nov 8 19:50:06 2011 +0100

    Fix WaE variable ‘eUIState’ set but not used

diff --git a/extensions/qa/update/test_update.cxx b/extensions/qa/update/test_update.cxx
index cf44093..d699da9 100644
--- a/extensions/qa/update/test_update.cxx
+++ b/extensions/qa/update/test_update.cxx
@@ -64,7 +64,6 @@ protected:
     // test the checkForUpdates() method
     void testCheckForUpdates()
     {
-        UpdateState eUIState = UPDATESTATE_NO_UPDATE_AVAIL;
 
         UpdateInfo aInfo;
         rtl::Reference< UpdateCheck > aController( UpdateCheck::get() );
@@ -73,7 +72,6 @@ protected:
         if ( checkForUpdates( aInfo, m_xContext, aController->getInteractionHandler(), m_xProvider ) )
         {
             aController->setUpdateInfo( aInfo );
-            eUIState = aController->getUIState( aInfo );
         }
         else
             CPPUNIT_FAIL("Calling checkForUpdates() failed.");


More information about the Libreoffice-commits mailing list