1
0
Fork 0
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:
Markus Schorn 2010-04-26 13:20:17 +00:00
parent 817e8b717b
commit c038f8b53e

View file

@ -204,6 +204,9 @@ public class CPPCompositesFactory extends AbstractCompositeFactory {
}
public IValue getCompositeValue(IValue v) {
if (v == null)
return null;
IBinding[] b= v.getUnknownBindings();
if (b.length == 0)
return v;