1
0
Fork 0
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:
Doug Schaefer 2006-06-03 14:40:14 +00:00
parent 7ca72c49aa
commit ddb0bf1898

View file

@ -48,7 +48,8 @@ public class PDOMSearchTextSelectionQuery extends PDOMSearchQuery {
for (int i = 0; i < names.length; ++i) {
IBinding binding = names[i].resolveBinding();
createMatches(language, binding);
if (binding != null)
createMatches(language, binding);
}
return Status.OK_STATUS;
} catch (CoreException e) {