Silence unused parameter warning

The parameter could be removed, but keep it for consistency with other
`makeSpirvTypeParameters` overloads.
This commit is contained in:
Sven van Haastregt 2023-07-24 11:30:56 +01:00 committed by arcady-lunarg
parent 65397339c5
commit fe82779952

View File

@ -298,7 +298,8 @@ TSpirvTypeParameters* TParseContext::makeSpirvTypeParameters(const TSourceLoc& l
return spirvTypeParams;
}
TSpirvTypeParameters* TParseContext::makeSpirvTypeParameters(const TSourceLoc& loc, const TPublicType& type)
TSpirvTypeParameters* TParseContext::makeSpirvTypeParameters(const TSourceLoc& /* loc */,
const TPublicType& type)
{
TSpirvTypeParameters* spirvTypeParams = new TSpirvTypeParameters;
spirvTypeParams->push_back(TSpirvTypeParameter(new TType(type)));