mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +02:00
Fixed EmptyStackException.
This commit is contained in:
parent
03021e3af2
commit
89e9f5d607
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ public class ClassMembersInitializationChecker extends AbstractIndexAstChecker {
|
|||
}
|
||||
}
|
||||
|
||||
if (skipCurrentConstructor) {
|
||||
if (skipCurrentConstructor && !constructorsStack.empty()) {
|
||||
constructorsStack.peek().clear();
|
||||
}
|
||||
return PROCESS_CONTINUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue