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

Potential NPE.

This commit is contained in:
Markus Schorn 2010-02-01 14:14:17 +00:00
parent 8668ed1c97
commit 0afd9e1484

View file

@ -1569,7 +1569,7 @@ public class CPPTemplates {
if (tmplArgs == null || fnArgs == null) {
tmplArgs = ICPPTemplateArgument.EMPTY_ARGUMENTS;
try {
if (containsDependentType(fnArgs)) {
if (fnArgs == null || containsDependentType(fnArgs)) {
functions[i]= CPPUnknownFunction.createForSample(template);
return;
}