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

fix bug 101384: NPE in parser

This commit is contained in:
Andrew Niefer 2005-06-23 17:56:13 +00:00
parent cbd0d0ef66
commit b5d98c79f4

View file

@ -63,7 +63,9 @@ public class CQualifierType implements ICQualifierType, ITypeContainer {
if( isRestrict() != qt.isRestrict() ) return false;
if( isVolatile() != qt.isVolatile() ) return false;
return qt.getType().isSameType( getType() );
if( type == null )
return false;
return type.isSameType( qt.getType() );
} catch ( DOMException e ) {
return false;
}