(glslang) Silence warning

This commit is contained in:
LibretroAdmin 2022-08-05 02:29:59 +02:00
parent add4a1e8a0
commit e3b82184a7

View File

@ -323,6 +323,9 @@ TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf)
{ {
for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) { for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) {
TParameter param; TParameter param;
param.name = NULL;
param.type = NULL;
param.defaultValue = NULL;
parameters.push_back(param); parameters.push_back(param);
parameters.back().copyParam(copyOf.parameters[i]); parameters.back().copyParam(copyOf.parameters[i]);
} }