1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00

Added a check for failed getModelData() retrieval.

This commit is contained in:
Pawel Piech 2007-05-18 16:03:51 +00:00
parent 90fc9e59f0
commit 1b5793e2e0

View file

@ -270,7 +270,12 @@ public class VariableLocalsLayoutNode extends AbstractDMVMLayoutNode<IExpression
// Now that all the calls to getModelData() are complete, we create an
// IExpressionDMContext object for each local variable name, saving them all
// in an array.
if (!getStatus().isOK()) {
handleFailedUpdate(update);
return;
}
IExpressionDMContext[] expressionDMCs = new IExpressionDMContext[localsDMData.size()];
int i = 0;