mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Fix NPE found while investigating 145105.
This commit is contained in:
parent
7ca72c49aa
commit
ddb0bf1898
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ public class PDOMSearchTextSelectionQuery extends PDOMSearchQuery {
|
|||
|
||||
for (int i = 0; i < names.length; ++i) {
|
||||
IBinding binding = names[i].resolveBinding();
|
||||
if (binding != null)
|
||||
createMatches(language, binding);
|
||||
}
|
||||
return Status.OK_STATUS;
|
||||
|
|
Loading…
Add table
Reference in a new issue