mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-16 04:35:45 +02:00
lost condition causing NPE returned back
This commit is contained in:
parent
c20ac81db5
commit
eb0d031a7b
1 changed files with 4 additions and 2 deletions
|
@ -2179,11 +2179,13 @@ public class BuildDescription implements IBuildDescription {
|
||||||
var = new String();
|
var = new String();
|
||||||
|
|
||||||
Set<BuildIOType> set = fVarToAddlInSetMap.get(var);
|
Set<BuildIOType> set = fVarToAddlInSetMap.get(var);
|
||||||
|
if(set != null){
|
||||||
for (BuildIOType t : set) {
|
for (BuildIOType t : set) {
|
||||||
t.addResource(rc);
|
t.addResource(rc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected void resourceRemovedFromType(BuildIOType type, BuildResource rc){
|
protected void resourceRemovedFromType(BuildIOType type, BuildResource rc){
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue