On 08/27/2013 03:11 PM, Chad Versace wrote:
Use `(void) success;` to silence this warning:

   i965/brw_vs.c:481:12:
   warning: unused variable 'success' [-Wunused-variable]
          bool success = do_vs_prog(brw, ctx->Shader.CurrentVertexProgram,

Signed-off-by: Chad Versace <[email protected]>

Typo in commit title (Silece -> Silence), otherwise, this is at least better than it was.

Reviewed-by: Kenneth Graunke <[email protected]>

We might want to come up with a better strategy for failing to compile, but...someday.

--Ken

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to