From 5a0d62e76e25ba5c920ad869054ded42370da550 Mon Sep 17 00:00:00 2001 From: heinezen Date: Fri, 3 May 2024 21:33:31 +0200 Subject: [PATCH] renderer: Remove unused variable. --- libopenage/renderer/opengl/shader_program.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libopenage/renderer/opengl/shader_program.cpp b/libopenage/renderer/opengl/shader_program.cpp index 31b0d177782..cf59be1edb7 100644 --- a/libopenage/renderer/opengl/shader_program.cpp +++ b/libopenage/renderer/opengl/shader_program.cpp @@ -447,7 +447,6 @@ void GlShaderProgram::bind_uniform_buffer(const char *block_name, std::shared_pt // Check if the uniform buffer matches the block definition for (auto const &pair : block.uniforms) { - auto const &unif = pair.second; ENSURE(gl_buffer->has_uniform(pair.first.c_str()), "Uniform buffer does not contain uniform '" << pair.first << "' required by block " << block_name); }