mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
Bug 349744 - NPE in PDOMSearchQuery.
This commit is contained in:
parent
7170b3a515
commit
64f069c552
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ public abstract class PDOMSearchQuery implements ISearchQuery {
|
||||||
} else {
|
} else {
|
||||||
for (IIndexName name : bindingNames) {
|
for (IIndexName name : bindingNames) {
|
||||||
String fullPath= name.getFile().getLocation().getFullPath();
|
String fullPath= name.getFile().getLocation().getFullPath();
|
||||||
if (accept(fullPath))
|
if (fullPath != null && accept(fullPath))
|
||||||
names.add(name);
|
names.add(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue