1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Removed the unused local variable 'children' from the 'getVariables' method of 'ArrayValue'.

This commit is contained in:
Mikhail Khodjaiants 2003-08-07 15:57:17 +00:00
parent 0be4d53f22
commit 0f6254c17b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-08-06 Mikhail Khodjaiants
* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayValue.java:
Removed the unused local variable 'children' from the 'getVariables' method.
2003-08-07 Alain Magloire
PR 38964.

View file

@ -47,7 +47,7 @@ public class ArrayValue extends DerivedValue implements ICDIArrayValue {
* an Array of range[index, index + length - 1]
*/
public ICDIVariable[] getVariables(int index, int length) throws CDIException {
int children = getChildrenNumber();
//int children = getChildrenNumber();
//if (index >= children || index + length >= children) {
// throw new CDIException("Index out of bound");
//}