From b66fe83a71d1fd91d9fe5f68860e0a1b487ad20d Mon Sep 17 00:00:00 2001 From: Sajjad Mirza Date: Wed, 6 Dec 2023 21:38:06 +0000 Subject: [PATCH] remove unused variable --- SPIRV/SpvBuilder.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/SPIRV/SpvBuilder.cpp b/SPIRV/SpvBuilder.cpp index e2ede8ea04..0656103bbe 100644 --- a/SPIRV/SpvBuilder.cpp +++ b/SPIRV/SpvBuilder.cpp @@ -1095,8 +1095,6 @@ Id Builder::makePointerDebugType(StorageClass storageClass, Id const baseType) type->addIdOperand(scID); type->addIdOperand(makeUintConstant(0)); - volatile auto x = type->getNumOperands(); - groupedDebugTypes[NonSemanticShaderDebugInfo100DebugTypePointer].push_back(type); constantsTypesGlobals.push_back(std::unique_ptr(type)); module.mapInstruction(type);