mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +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,8 +2179,10 @@ public class BuildDescription implements IBuildDescription {
|
|||
var = new String();
|
||||
|
||||
Set<BuildIOType> set = fVarToAddlInSetMap.get(var);
|
||||
for (BuildIOType t : set) {
|
||||
t.addResource(rc);
|
||||
if(set != null){
|
||||
for (BuildIOType t : set) {
|
||||
t.addResource(rc);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue