Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Hirsl2005-05-10 20:04:50 +0000
committerVladimir Hirsl2005-05-10 20:04:50 +0000
commit51467c7d3c1899d9f239030ae105e62ca0e137fa (patch)
tree0ac66a39ecca897c07108fce55ec93ccd0a34a0a /build/org.eclipse.cdt.make.ui
parent540081b263252cb34c5fa12eed8344b39d2a4d96 (diff)
downloadorg.eclipse.cdt-51467c7d3c1899d9f239030ae105e62ca0e137fa.tar.gz
org.eclipse.cdt-51467c7d3c1899d9f239030ae105e62ca0e137fa.tar.xz
org.eclipse.cdt-51467c7d3c1899d9f239030ae105e62ca0e137fa.zip
Fix for PR 94500: [Path Entry] Problem marker: Invalid project path: DISCOVERED_SCANNER_INFO
Fix for infinite loop in LocationMap.createSoleLocation(..). Courtesy of John C.
Diffstat (limited to 'build/org.eclipse.cdt.make.ui')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
index be65c13154d..96a8fa66a6e 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/DiscoveryOptionsBlock.java
@@ -279,7 +279,9 @@ public class DiscoveryOptionsBlock extends AbstractDiscoveryOptionsBlock {
}
getBuildInfo().save();
if (isProfileDifferentThenPersisted()) {
- changeDiscoveryContainer(project);
+ if (project != null) {
+ changeDiscoveryContainer(project);
+ }
updatePersistedProfile();
}
}

Back to the top