Kaydet (Commit) 38e9686b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-variable

Change-Id: I57cb3540cb94dcf39252a87b56cba3856cba9c01
üst f22ffca5
...@@ -611,13 +611,11 @@ UpdateCheckConfig::commitChanges() ...@@ -611,13 +611,11 @@ UpdateCheckConfig::commitChanges()
xChangesBatch = uno::Reference< util::XChangesBatch > ( m_xAvailableUpdates, uno::UNO_QUERY ); xChangesBatch = uno::Reference< util::XChangesBatch > ( m_xAvailableUpdates, uno::UNO_QUERY );
if( xChangesBatch.is() && xChangesBatch->hasPendingChanges() ) if( xChangesBatch.is() && xChangesBatch->hasPendingChanges() )
{ {
util::ChangesSet aChangesSet = xChangesBatch->getPendingChanges();
xChangesBatch->commitChanges(); xChangesBatch->commitChanges();
} }
xChangesBatch = uno::Reference< util::XChangesBatch > ( m_xIgnoredUpdates, uno::UNO_QUERY ); xChangesBatch = uno::Reference< util::XChangesBatch > ( m_xIgnoredUpdates, uno::UNO_QUERY );
if( xChangesBatch.is() && xChangesBatch->hasPendingChanges() ) if( xChangesBatch.is() && xChangesBatch->hasPendingChanges() )
{ {
util::ChangesSet aChangesSet = xChangesBatch->getPendingChanges();
xChangesBatch->commitChanges(); xChangesBatch->commitChanges();
} }
} }
......
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