mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Fix for NPE in tool-chain modification functionality
This commit is contained in:
parent
b9d5c2f110
commit
2b673fe759
1 changed files with 2 additions and 0 deletions
|
@ -988,6 +988,8 @@ public class ResourceConfiguration extends ResourceInfo implements IFileInfo {
|
|||
for(int i = 0; i < tools.length; i++){
|
||||
ITool[] pair = new ITool[2];
|
||||
pair[0] = ManagedBuildManager.getRealTool(tools[i]);
|
||||
if(pair[0] == null)
|
||||
pair[0] = tools[i];
|
||||
pair[1] = tools[i];
|
||||
pairs[i] = pair;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue