mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Removed warning.
This commit is contained in:
parent
055e7d13ec
commit
bab0c22d3a
1 changed files with 4 additions and 4 deletions
|
@ -86,8 +86,8 @@ public class ASTNewExpression extends ASTExpression {
|
|||
}
|
||||
|
||||
public ASTExpression findOwnerExpressionForIDExpression(ITokenDuple duple) {
|
||||
ASTTypeId typeId = (ASTTypeId) getTypeId();
|
||||
ITokenDuple typeDuple = typeId.getTokenDuple();
|
||||
ASTTypeId ti = (ASTTypeId) getTypeId();
|
||||
ITokenDuple typeDuple = ti.getTokenDuple();
|
||||
|
||||
if( typeDuple.equals( duple ) )
|
||||
return this;
|
||||
|
@ -97,8 +97,8 @@ public class ASTNewExpression extends ASTExpression {
|
|||
|
||||
//else, check the parameters
|
||||
ASTExpression ownerExpression = null;
|
||||
ASTNewDescriptor newDescriptor = (ASTNewDescriptor)getNewExpressionDescriptor();
|
||||
List newInitializerExpressions = newDescriptor.getNewInitializerExpressionsList();
|
||||
ASTNewDescriptor nd = (ASTNewDescriptor)getNewExpressionDescriptor();
|
||||
List newInitializerExpressions = nd.getNewInitializerExpressionsList();
|
||||
int size = newInitializerExpressions.size();
|
||||
for( int i = 0; i < size; i++ )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue