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:
parent
2c27efbc06
commit
304e26f30c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue