From e3b82184a705ac8e4a9b426210b89199c570dc3a Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Fri, 5 Aug 2022 02:29:59 +0200 Subject: [PATCH] (glslang) Silence warning --- .../glslang/glslang/glslang/MachineIndependent/SymbolTable.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/glslang/glslang/glslang/MachineIndependent/SymbolTable.cpp b/deps/glslang/glslang/glslang/MachineIndependent/SymbolTable.cpp index 239be896d6..442e8d3d37 100644 --- a/deps/glslang/glslang/glslang/MachineIndependent/SymbolTable.cpp +++ b/deps/glslang/glslang/glslang/MachineIndependent/SymbolTable.cpp @@ -323,6 +323,9 @@ TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) { for (unsigned int i = 0; i < copyOf.parameters.size(); ++i) { TParameter param; + param.name = NULL; + param.type = NULL; + param.defaultValue = NULL; parameters.push_back(param); parameters.back().copyParam(copyOf.parameters[i]); }