mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +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) {
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue