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:
parent
67e437ee00
commit
378af88ee3
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue