1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Check for null reference.

This commit is contained in:
Alain Magloire 2002-10-13 02:26:39 +00:00
parent e6df60f6a3
commit 8ec3ec5b4e

View file

@ -102,7 +102,7 @@ public class CThread extends CObject implements ICDIThread {
// Check to see if we are already at this level
StackFrame current = getCurrentStackFrame();
if (current.getLevel() == frameNum) {
if (current != null && current.getLevel() == frameNum) {
// noop
return;
}