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:
parent
0be4d53f22
commit
0f6254c17b
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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");
|
||||
//}
|
||||
|
|
Loading…
Add table
Reference in a new issue