Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Sennikovsky2007-09-14 10:53:32 +0000
committerMikhail Sennikovsky2007-09-14 10:53:32 +0000
commit378af88ee384c4b48346761486585b0bdcfc5564 (patch)
treebe201bdae150f95d59cb1f2c244c8643e56a5479 /build/org.eclipse.cdt.managedbuilder.gnu.ui/src
parent67e437ee00fba119b8f82a259ac93e94486e30a2 (diff)
downloadorg.eclipse.cdt-378af88ee384c4b48346761486585b0bdcfc5564.tar.gz
org.eclipse.cdt-378af88ee384c4b48346761486585b0bdcfc5564.tar.xz
org.eclipse.cdt-378af88ee384c4b48346761486585b0bdcfc5564.zip
"support checked" flag initialization moved to be after the "isSupport" initialization
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.gnu.ui/src')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/cygwin/IsGnuCygwinToolChainSupported.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/cygwin/IsGnuCygwinToolChainSupported.java b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/cygwin/IsGnuCygwinToolChainSupported.java
index c7ca7fb9fd5..21ee0d0c3ab 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/cygwin/IsGnuCygwinToolChainSupported.java
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/cygwin/IsGnuCygwinToolChainSupported.java
@@ -46,7 +46,6 @@ public class IsGnuCygwinToolChainSupported implements
PluginVersionIdentifier version, String instance) {
if (suppChecked) return toolchainIsSupported;
- suppChecked = true;
String etcCygwin = CygwinPathResolver.getEtcPath();
if (etcCygwin != null) {
@@ -71,6 +70,9 @@ public class IsGnuCygwinToolChainSupported implements
} catch (IOException e) {
}
}
+
+ suppChecked = true;
+
return toolchainIsSupported;
}
}

Back to the top