From 6c2d815d64af177321cf6f903c04c4820da5f81a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 14 Jun 2014 22:53:16 -0700 Subject: [PATCH] i965/vec4/gs: Silence warning about unused 'success' in release build. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Tapani Pälli Reviewed-by: Ian Romanick --- src/mesa/drivers/dri/i965/brw_vec4_gs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs.c b/src/mesa/drivers/dri/i965/brw_vec4_gs.c index b48c420a9fb..4b1ba367341 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_gs.c +++ b/src/mesa/drivers/dri/i965/brw_vec4_gs.c @@ -309,6 +309,7 @@ brw_upload_gs_prog(struct brw_context *brw) do_gs_prog(brw, ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY], gp, &key); assert(success); + (void)success; } brw->gs.base.prog_data = &brw->gs.prog_data->base.base; -- 2.30.2