From c9a25855bc208c0bd878f430c8d9fa6e6df44e46 Mon Sep 17 00:00:00 2001
From: lat9nq <22451773+lat9nq@users.noreply.github.com>
Date: Sat, 29 May 2021 02:09:29 -0400
Subject: shader_recompiler: GCC fixes

---
 src/shader_recompiler/backend/glsl/reg_alloc.cpp | 1 -
 1 file changed, 1 deletion(-)

(limited to 'src/shader_recompiler/backend/glsl/reg_alloc.cpp')

diff --git a/src/shader_recompiler/backend/glsl/reg_alloc.cpp b/src/shader_recompiler/backend/glsl/reg_alloc.cpp
index b287b870a2..ecb550095d 100644
--- a/src/shader_recompiler/backend/glsl/reg_alloc.cpp
+++ b/src/shader_recompiler/backend/glsl/reg_alloc.cpp
@@ -91,7 +91,6 @@ std::string RegAlloc::Consume(const IR::Value& value) {
 }
 
 std::string RegAlloc::Consume(IR::Inst& inst) {
-    const Id id{inst.Definition<Id>()};
     inst.DestructiveRemoveUsage();
     // TODO: reuse variables of same type if possible
     // if (!inst.HasUses()) {
-- 
cgit v1.2.3-70-g09d2