1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Removes an assertion.

This commit is contained in:
Markus Schorn 2007-06-19 12:26:18 +00:00
parent 40fbdf2c1c
commit 46ca41bc94

View file

@ -271,7 +271,6 @@ public class IndexUI {
public static ICElementHandle getCElementForName(ICProject preferProject, IIndex index, IASTName declName)
throws CoreException {
assert !declName.isReference();
IBinding binding= declName.resolveBinding();
if (binding != null) {
ITranslationUnit tu= getTranslationUnit(preferProject, declName);