mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix NPE.
This commit is contained in:
parent
de22c3b311
commit
4fd94ed31f
1 changed files with 15 additions and 12 deletions
|
@ -148,6 +148,8 @@ public class DiscoveredPathInfo implements IPerProjectDiscoveredPathInfo, IDisco
|
|||
Set<String> symbolsSet = symbols.keySet();
|
||||
for (String symbol : symbolsSet) {
|
||||
SymbolEntry se = symbols.get(symbol);
|
||||
if (se != null)
|
||||
{
|
||||
List<String> activeValues = se.getActiveRaw();
|
||||
for (String value : activeValues) {
|
||||
Element symbolElement = doc.createElement(DEFINED_SYMBOL);
|
||||
|
@ -163,6 +165,7 @@ public class DiscoveredPathInfo implements IPerProjectDiscoveredPathInfo, IDisco
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.IDiscoveredScannerInfoSerializable#deserialize(org.w3c.dom.Element)
|
||||
|
|
Loading…
Add table
Reference in a new issue