summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-06-30 08:09:17 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-06-30 08:11:35 +0200
commite65ba1ad3ec9af16efc397a041ad607eb87edc91 (patch)
treed4197cd352e34c1815f03c4bfcea9019aff85031 /sd
parenta4decedeb6dc15e2bbd26217ed9f49903847fa3c (diff)
-WaE: variable bNewEntryInserted set but not used.
Is a direct result of a4620e23cec01169995ec7bc056c51295a4f9907 (although that didn't actually really "use" the result either...). Change-Id: Ic21eb9a5cdfa86cab257afe66a89953b144b171c
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
index f59347bf9b38..35229104b35d 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
@@ -634,20 +634,16 @@ long ClientBox::addEntry( ::boost::shared_ptr<ClientInfo> pClientInfo )
TClientBoxEntry pEntry( new ClientBoxEntry( pClientInfo ) );
- bool bNewEntryInserted = false;
-
::osl::ClearableMutexGuard guard(m_entriesMutex);
if ( m_vEntries.empty() )
{
m_vEntries.push_back( pEntry );
- bNewEntryInserted = true;
}
else
{
// if ( !FindEntryPos( pEntry, 0, m_vEntries.size()-1, nPos ) )
// {
m_vEntries.insert( m_vEntries.begin()+nPos, pEntry );
- bNewEntryInserted = true;
// }
// else if ( !m_bInCheckMode )
// {