1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

"support checked" flag initialization moved to be after the "isSupport" initialization

This commit is contained in:
Mikhail Sennikovsky 2007-09-14 10:53:32 +00:00
parent 67e437ee00
commit 378af88ee3

View file

@ -46,7 +46,6 @@ public class IsGnuCygwinToolChainSupported implements
PluginVersionIdentifier version, String instance) { PluginVersionIdentifier version, String instance) {
if (suppChecked) return toolchainIsSupported; if (suppChecked) return toolchainIsSupported;
suppChecked = true;
String etcCygwin = CygwinPathResolver.getEtcPath(); String etcCygwin = CygwinPathResolver.getEtcPath();
if (etcCygwin != null) { if (etcCygwin != null) {
@ -71,6 +70,9 @@ public class IsGnuCygwinToolChainSupported implements
} catch (IOException e) { } catch (IOException e) {
} }
} }
suppChecked = true;
return toolchainIsSupported; return toolchainIsSupported;
} }
} }