From 69b04c609aa8e34b576e79ddea293225d57120c1 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 6 Feb 2020 00:59:12 +0100 Subject: [PATCH] [dxso] Fix GCC warning for an unused variable --- src/dxso/dxso_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxso/dxso_compiler.cpp b/src/dxso/dxso_compiler.cpp index e12b05c8..bbf343fc 100644 --- a/src/dxso/dxso_compiler.cpp +++ b/src/dxso/dxso_compiler.cpp @@ -3567,7 +3567,7 @@ void DxsoCompiler::emitControlFlowGenericLoop( // Look up vPos so it gets initted. DxsoRegister vPos; vPos.id = DxsoRegisterId{ DxsoRegisterType::MiscType, DxsoMiscTypeIndices::MiscTypePosition }; - auto vPosPtr = this->emitGetOperandPtr(vPos); + this->emitGetOperandPtr(vPos); } if (m_ps.vPos.id != 0) {