mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
NPE in "CVlaue.isUnsigned". Check if the type of the parent variable is null.
This commit is contained in:
parent
52e7f87d5e
commit
72b2f7aa1e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-10-25 Mikhail Khodjaiants
|
||||
NPE in "CVlaue.isUnsigned". Check if the type of the parent variable is null.
|
||||
* CValue.java
|
||||
|
||||
2004-10-25 David Inglis
|
||||
Deprecated environment launch constent in favor of the constant provided by the debug.core.
|
||||
* src/org/eclipse/cdt/debug/core/ICDTLaunchConfigurationConstants.java
|
||||
|
|
|
@ -418,7 +418,8 @@ public class CValue extends AbstractCValue {
|
|||
boolean result = false;
|
||||
try {
|
||||
ICType type = getParentVariable().getType();
|
||||
result = type.isUnsigned();
|
||||
if ( type != null )
|
||||
result = type.isUnsigned();
|
||||
}
|
||||
catch( DebugException e ) {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue