Merge pull request #2292 from proydakov/gcc-unused-parameter

Fixed GCC -Wunused-parameter in hlslParseables.cpp.
This commit is contained in:
John Kessenich 2020-06-29 21:54:06 -06:00 committed by GitHub
commit 2b6a18bd84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,7 +331,7 @@ glslang::TString& AppendTypeName(glslang::TString& s, const char* argOrder, cons
// //
// It is possible that this is not needed, but that would require some tweaking // It is possible that this is not needed, but that would require some tweaking
// of other rules to get the same results. // of other rules to get the same results.
inline bool IsValid(const char* cname, char retOrder, char retType, char argOrder, char argType, int dim0, int dim1) 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 isVec = (argOrder == 'V');