diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CfgExportSettingContainerFactory.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CfgExportSettingContainerFactory.java index a41b589951c..52f8271fbf0 100644 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CfgExportSettingContainerFactory.java +++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/settings/model/CfgExportSettingContainerFactory.java @@ -98,12 +98,10 @@ public class CfgExportSettingContainerFactory extends return es; } } - } else { - // If project doesn't not open in this workspace, just return the previous settings - // for the moment. We'll update again when the referenced project reappears - return prevSettings; } - return new CExternalSetting[0]; + // If project not yet accessible, just return the previous settings + // for the moment. We'll update again when the referenced project reappears + return prevSettings; } }