1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Bug 219128 fix NPE.

This commit is contained in:
Ken Ryall 2008-02-16 16:09:35 +00:00
parent 2d00884258
commit 2a99774c72

View file

@ -285,7 +285,7 @@ public abstract class CVariable extends AbstractCVariable implements ICDIEventLi
ICType type;
try {
type = getType();
return ( getOriginal() != null && isEnabled() && type.isPointer() );
return ( getOriginal() != null && isEnabled() && type != null && type.isPointer() );
}
catch( DebugException e ) {
}