From ea6eae7aa1fe7db06bc65af9bc8ea498ecf40fed Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Thu, 22 May 2014 11:52:27 +0200 Subject: cppcheck: Variable 'dChildIndex,...' is assigned a value that is never used Change-Id: Ifa4ea7faa4bcf6580f10c8ece15a01d72f2903f3 --- winaccessibility/source/UAccCOM/MAccessible.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'winaccessibility') 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 pRAcc = xTargets[0]; for(int j=0; jgetAccessibleChildCount(); j++) -- cgit