mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 520965 - NPE in AbstractCPPClassSpecializationScope.getBindings()
Change-Id: I02494b27bf697821361a896235b38075b161f0e7
This commit is contained in:
parent
fb0df4a130
commit
30c0a1da7c
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ public class AbstractCPPClassSpecializationScope implements ICPPClassSpecializat
|
|||
|
||||
IBinding[] bindings= classScope.getBindings(lookup);
|
||||
IBinding[] result= IBinding.EMPTY_BINDING_ARRAY;
|
||||
if (bindings == null) {
|
||||
return result;
|
||||
}
|
||||
int n = 0;
|
||||
for (IBinding binding : bindings) {
|
||||
if (binding == specialized ||
|
||||
|
|
Loading…
Add table
Reference in a new issue