mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 219128 fix NPE.
This commit is contained in:
parent
2d00884258
commit
2a99774c72
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ public abstract class CVariable extends AbstractCVariable implements ICDIEventLi
|
||||||
ICType type;
|
ICType type;
|
||||||
try {
|
try {
|
||||||
type = getType();
|
type = getType();
|
||||||
return ( getOriginal() != null && isEnabled() && type.isPointer() );
|
return ( getOriginal() != null && isEnabled() && type != null && type.isPointer() );
|
||||||
}
|
}
|
||||||
catch( DebugException e ) {
|
catch( DebugException e ) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue