1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 20:35:38 +02:00

compilation warning

This commit is contained in:
Andrew Gvozdev 2011-03-10 23:06:22 +00:00
parent 1586b85da5
commit 8702144ba5

View file

@ -421,7 +421,7 @@ public class NewCfgDialog implements INewCfgDialog {
for (int i = 0; i < descs.length; ++i) { for (int i = 0; i < descs.length; ++i) {
cfgds[i] = ManagedBuildManager.getConfigurationForDescription(descs[i]); cfgds[i] = ManagedBuildManager.getConfigurationForDescription(descs[i]);
IConfiguration cfg = cfgds[i]; IConfiguration cfg = cfgds[i];
for(; cfg != null && !cfg.isExtensionElement(); cfg = cfg.getParent()); for(; cfg != null && !cfg.isExtensionElement(); cfg = cfg.getParent()) {}
if (cfg != null) { if (cfg != null) {
IProjectType pType = cfg.getProjectType(); IProjectType pType = cfg.getProjectType();
if(pType != null){ if(pType != null){