From ab4d54cb700b9b2fe953a421bb26bd9d1d17bf7e Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Thu, 23 May 2024 07:31:25 +0200 Subject: [PATCH] Get rid of unused variable --- .../glslang/glslang/glslang/MachineIndependent/Intermediate.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp b/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp index fc29854f36..3f6f588df9 100644 --- a/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp +++ b/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp @@ -1191,8 +1191,6 @@ TIntermTyped* TIntermediate::addShapeConversion(const TType& type, TIntermTyped* const int matSize = type.getMatrixRows() * type.getMatrixCols(); TIntermAggregate* rhsAggregate = new TIntermAggregate(); - const bool isSimple = (node->getAsSymbolNode() != NULL) || (node->getAsConstantUnion() != NULL); - for (int x=0; xgetSequence().push_back(node);