mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 309096: NPE in composite index.
This commit is contained in:
parent
817e8b717b
commit
c038f8b53e
1 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,9 @@ public class CPPCompositesFactory extends AbstractCompositeFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
public IValue getCompositeValue(IValue v) {
|
public IValue getCompositeValue(IValue v) {
|
||||||
|
if (v == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
IBinding[] b= v.getUnknownBindings();
|
IBinding[] b= v.getUnknownBindings();
|
||||||
if (b.length == 0)
|
if (b.length == 0)
|
||||||
return v;
|
return v;
|
||||||
|
|
Loading…
Add table
Reference in a new issue