From 248175ab3b90139580f7e9403ac5243d7aeac823 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 11 Apr 2013 10:33:00 -0700 Subject: [PATCH] i965: Fix an unused variable warning in the release build. It's used in an assert, but we have this as a member of the class anyway. Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_fs.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 516bf918175..b82add9739d 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -2841,7 +2841,6 @@ fs_visitor::get_instruction_generating_reg(fs_inst *start, void fs_visitor::setup_payload_gen6() { - struct intel_context *intel = &brw->intel; bool uses_depth = (fp->Base.InputsRead & (1 << VARYING_SLOT_POS)) != 0; unsigned barycentric_interp_modes = c->prog_data.barycentric_interp_modes; -- 2.30.2