diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 11:52:27 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 12:50:50 +0200 |
commit | ea6eae7aa1fe7db06bc65af9bc8ea498ecf40fed (patch) | |
tree | ac96b3f8a11fe842ddd4f983d9a49e866053b9c0 | |
parent | 8d52cd0b327e90b555c6beaf29219ba011cc7244 (diff) |
cppcheck: Variable 'dChildIndex,...' is assigned a value that is never used
Change-Id: Ifa4ea7faa4bcf6580f10c8ece15a01d72f2903f3
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx index e5c5eb09bc03..c067cbdd27a0 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.cxx +++ b/winaccessibility/source/UAccCOM/MAccessible.cxx @@ -1421,8 +1421,6 @@ STDMETHODIMP CMAccessible::NotifyDestroy(BOOL isDestroy) */ IMAccessible* CMAccessible::GetChildInterface(long dChildID)//for test { - - long dChildIndex = 0; if(dChildID<0) { if(g_pAgent) @@ -1756,7 +1754,6 @@ STDMETHODIMP CMAccessible::get_relation( long relationIndex, IAccessibleRelation long nMax = 0; - long nReal = 0; get_nRelations(&nMax); *relation = (IAccessibleRelation*)::CoTaskMemAlloc(sizeof(IAccessibleRelation)); @@ -2006,7 +2003,6 @@ STDMETHODIMP CMAccessible:: get_groupPosition(long __RPC_FAR *groupLevel,long __ if(accRelation.RelationType == 7) { Sequence< Reference< XInterface > > xTargets = accRelation.TargetSet; - int nCount = xTargets.getLength(); Reference<XInterface> pRAcc = xTargets[0]; for(int j=0; j<pRParentContext->getAccessibleChildCount(); j++) |