From: Kenneth Graunke Date: Wed, 4 May 2016 07:46:31 +0000 (-0700) Subject: i965: Silence unused variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a886721ed449be0c87ece972acada96cc0811b6;p=mesa.git i965: Silence unused variable warning I added this when deleting some unnecessary code in a rebase. --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 18760dd30b1..ce3e00b484a 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1762,8 +1762,6 @@ fs_visitor::assign_tcs_single_patch_urb_setup() { assert(stage == MESA_SHADER_TESS_CTRL); - brw_vue_prog_data *vue_prog_data = (brw_vue_prog_data *) prog_data; - /* Rewrite all ATTR file references to HW_REGs. */ foreach_block_and_inst(block, fs_inst, inst, cfg) { convert_attr_sources_to_hw_regs(inst);