diff --git a/hlsl/hlslParseables.cpp b/hlsl/hlslParseables.cpp index 6d2a86ae2c..ccc865e339 100644 --- a/hlsl/hlslParseables.cpp +++ b/hlsl/hlslParseables.cpp @@ -334,7 +334,6 @@ glslang::TString& AppendTypeName(glslang::TString& s, const char* argOrder, cons inline bool IsValid(const char* cname, char retOrder, char retType, char argOrder, char argType, int dim0, int dim1) { const bool isVec = (argOrder == 'V'); - const bool isMat = (argOrder == 'M'); const std::string name(cname);