cppcheck unreadVariable: nRemoveSelect
since introduction in commit 60f11adb95
Change-Id: I9e735ec9f39502b90cec40af4397abac0165df83
Reviewed-on: https://gerrit.libreoffice.org/30407
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
This commit is contained in:
@@ -848,7 +848,6 @@ void ChildrenManagerImpl::UpdateSelection()
|
||||
typedef std::vector< PAIR_SHAPE > VEC_SHAPE;
|
||||
VEC_SHAPE vecSelect;
|
||||
int nAddSelect=0;
|
||||
int nRemoveSelect=0;
|
||||
bool bHasSelectedShape=false;
|
||||
ChildDescriptorListType::const_iterator aEnd = maVisibleChildren.end();
|
||||
for (ChildDescriptorListType::iterator I=maVisibleChildren.begin(); I != aEnd; ++I)
|
||||
@@ -912,7 +911,6 @@ void ChildrenManagerImpl::UpdateSelection()
|
||||
if(bDrawShape)
|
||||
{
|
||||
vecSelect.push_back(std::make_pair(pAccessibleShape,false));
|
||||
++nRemoveSelect;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user