[Mesa-dev] [PATCH 13/13] i965/vec4/gs: Silence warning about unused 'success' in release build.
Matt Turner
mattst88 at gmail.com
Sun Jun 15 10:19:37 PDT 2014
---
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 b48c420..4b1ba36 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;
--
1.8.3.2
More information about the mesa-dev
mailing list