1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Check for null pointer in 'isCharacter' and 'isCharPointer'.

This commit is contained in:
Mikhail Khodjaiants 2003-04-24 16:03:44 +00:00
parent 2c27efbc06
commit 304e26f30c

View file

@ -284,7 +284,7 @@ public class CValue extends CDebugElement implements ICValue
public boolean isCharPointer()
{
String value = getUnderlyingValueString().trim();
String value = getUnderlyingValueString();
if ( value != null )
{
value = value.trim();