diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/AbstractIndexerTask.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/AbstractIndexerTask.java index 2f3af491ea8..2f1a96c54f5 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/AbstractIndexerTask.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/AbstractIndexerTask.java @@ -402,7 +402,7 @@ public abstract class AbstractIndexerTask extends PDOMWriter { // handle other files present in index for (IIndexFragmentFile ifile : indexFiles) { - if (ifile != null && ifile.hasContent()) { + if (ifile != null) { IIndexInclude ctx= ifile.getParsedInContext(); if (ctx == null) { iFilesToRemove.add(ifile);