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

Fixed EmptyStackException.

This commit is contained in:
Sergey Prigogin 2012-04-13 16:43:02 -07:00
parent 03021e3af2
commit 89e9f5d607

View file

@ -138,7 +138,7 @@ public class ClassMembersInitializationChecker extends AbstractIndexAstChecker {
}
}
if (skipCurrentConstructor) {
if (skipCurrentConstructor && !constructorsStack.empty()) {
constructorsStack.peek().clear();
}
return PROCESS_CONTINUE;