mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Potential NPE.
This commit is contained in:
parent
8668ed1c97
commit
0afd9e1484
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue